在vc ++中从GetModuleFileName查找dll的路径 [英] Find the path of dll from GetModuleFileName in vc++
本文介绍了在vc ++中从GetModuleFileName查找dll的路径的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我正在开发一个网络电话程序,我想显示DLL的路径.如何在我的VC ++项目中显示GetModuleFileName中的DLL路径,请提供代码.
传递DLL句柄时出现错误GetModuleFileHNameW'':找不到标识符.
在此先感谢
I am working on a web phone program and I want to show the path of DLL. How can I show the DLL path from the GetModuleFileName in my VC++ project, please give the code.
Passing the DLL handle I got the error GetModuleFileHNameW'': identifier not found.
Thanks in advance
推荐答案
我写了一篇有关的文章:
获取您的DLL的路径/名称 [
I wrote an article about that:
Get Your DLL''s Path/Name[^]
是代码示例有帮助吗?
:)
Is "Enumerating All Modules For a Process" code sample of any help?
:)
这篇关于在vc ++中从GetModuleFileName查找dll的路径的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文