Get path to dll loaded using LoadLibrary("MyDll.dll")
See the question and my original answer on StackOverflowCheck out GetModuleFileName: GetModuleFileName Function using hlib as the HMODULE.
Check out GetModuleFileName: GetModuleFileName Function using hlib as the HMODULE.