Help - Search - Members - Calendar
Full Version: how do I get hmodule for plugin dll?
Hydrogenaudio Forums > Hosted Forums > foobar2000 > Development - (fb2k)
esceo
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
Peter
core_api::get_my_instance()
esceo
thx smile.gif
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2008 Invision Power Services, Inc.