Hi, I'm trying to write a DLL plugin which will call a third party's generic DLL. So I have the following code in my C++ file:
HMODULE g_hMod = 0;
if(g_hMod == NULL)
g_hMod = LoadLibrary("Thirdparty.dll");
However, the handle g_hMod always gets a NULL return value. I don't know what's
wrong. Anyone has similar experience? Please help me!
Thanks a lot!
