c++ - C# 调用自己编写的dll出错,System.BadImageFormatException?
PHPz
PHPz 2017-04-17 14:54:07
0
1
500


这是VC的项目


不知道什么原因?

PHPz
PHPz

学习是最好的投资!

reply all(1)
伊谢尔伦

Indicate that your C# program is working in 64-bit mode. The 32-bit library cannot be loaded.
Project Properties->Project Designer->Build->Platform->Change 'Any CPU' to x86. Or you compile the C module as 64-bit.

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template