I need to load some resource from my DLL (i need to load them from the DLL code), for doing that I’m using FindResource.
To do that i need the HModule of the DLL.
How to find that?
(I do not know the name (filename) of the DLL (the user can change it))
The first argument to
DllMain()is theHMODULEof the DLL.