Calls to GetModuleFileName(NULL) and GetModuleHandle(NULL) returns Filename and hmodule for the foobar executable only.
How then, may I find hModule of the DLL where the code is actually resided in? In the case when I need to use the resource of in the DLL?
right now, I can only hardcode the name of the dll, which is not too good