Is there a way to get the file (and Path) of a Dll from inside that Dll?
In an EXE I would use: GetModuleFileName(), but this returns the .EXE name and path even in a Dll with that Dlls hInst.
I have searched the Win API but cant find anything with Dll filename in it.
------------------
Kind Regards
Mike
In an EXE I would use: GetModuleFileName(), but this returns the .EXE name and path even in a Dll with that Dlls hInst.
I have searched the Win API but cant find anything with Dll filename in it.
------------------
Kind Regards
Mike
Comment