Dynamically loading one dll from another dynamically loaded dll
C / C++ / MFC
5
Posts
3
Posters
0
Views
1
Watching
-
Is it possiable
-
Is it possiable
-
Try this
typedef HRESULT (__stdcall *DllRegSvr)(); HMODULE hModule = LoadLibrary("dll path");
Thanks. Got it working :-D
-
Thanks. Got it working :-D
-
Is it possiable
Just try not to do it in the DllMain handler for your DLL. You can run into locking issues - Windows only wants to load a single DLL within your process at a time and process the DllMain.