查找 DLL 的 CLR 版本
可能的重复:
确定程序集的框架 (CLR) 版本
我需要获取来自 C++ 进程的 .NET DLL。 我尝试使用 .NEt 方法 GetVersionFromProcess
但它只接收进程句柄。
如果我向它发送 DLL 的文件句柄或基地址,它将返回 E_INVALIDARGS
。
Possible Duplicate:
Determine framework (CLR) version of assembly
I need to get the CLR version of a .NET DLL from a C++ process.
I tried using the .NEt method GetVersionFromProcess
but it only receives a process handle.
If I send it the DLL's file handle or base address, it will return E_INVALIDARGS
.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
这些本机函数返回程序集使用的 .NET 版本:
These native functions return the .NET version used by an assembly: