L
Lloyd Dupont
let say I have a DLL where there is:
extern __declspec(dllexport) char* SomeImportantName;
let say I want to dynamically (no static linking) update this value...
is it right to do as below?
HMODULE h = LoadLibrary("myLibrary");
char** p_SomeImportantName = (char**) GetProcAddress("SomeImportantName");
*p_SomeImportantName = newValue;
extern __declspec(dllexport) char* SomeImportantName;
let say I want to dynamically (no static linking) update this value...
is it right to do as below?
HMODULE h = LoadLibrary("myLibrary");
char** p_SomeImportantName = (char**) GetProcAddress("SomeImportantName");
*p_SomeImportantName = newValue;