开发者

Get path to dll loaded using LoadLibrary("MyDll.dll")

开发者 https://www.devze.com 2023-02-13 15:35 出处:网络
I\'m 开发者_JAVA百科loading a dll by using it\'s name like this: HANDLE hlib = LoadLibrary(\"Winfax.dll\");

I'm 开发者_JAVA百科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.

0

精彩评论

暂无评论...
验证码 换一张
取 消