I'm loading a dll by using it's name like this:
HANDLE hlib = LoadLibrary("Winfax.dll");
Now I want to know from which path the dll was loaded. Is there a way to get the full path and file name for a dll handle?
I'm loading a dll by using it's name like this:
HANDLE hlib = LoadLibrary("Winfax.dll");
Now I want to know from which path the dll was loaded. Is there a way to get the full path and file name for a dll handle?
Check out GetModuleFileName: GetModuleFileName Function using hlib as the HMODULE.