作者:WINNIE双双围脖_370 | 来源:互联网 | 2023-10-09 19:36
Ihadthe32bitdllwhichiswrittenusingNativeC,whenItriedcompilingwithVC++(VS2008)forc
I had the 32 bit dll which is written using Native C, when I tried compiling with VC++(VS2008) for converting the dll to x64 by changing the platform it compiled. But when I tried to access the dll from my C# application which is also 'x64' platform it fails to load the dll. I used Dllimport for linking the dll with my application.
当我尝试使用VC ++(VS2008)编译以通过更改它编译的平台将dll转换为x64时,我使用了Native C编写的32位dll。但是当我试图从我的C#应用程序(也是'x64'平台)访问dll时,它无法加载dll。我使用Dllimport将dll链接到我的应用程序。
The operating system I use in Vista, But I couldnt able to call the at dll function from my application it says failed to load the dll.
我在Vista中使用的操作系统,但我无法从我的应用程序调用at dll函数,它说无法加载dll。
Is there any way to resolve this issue.
有没有办法解决这个问题。
Looking forward from your help.
期待你的帮助。
Regards, Ga
5 个解决方案