通过P/Invoke调用32位C++ DLL时,一定要将平台改为X86

如题。不然会报一个

BadImageFormatException  

的异常

 

 

posted on 2012-12-11 11:20  Yunanw  阅读(224)  评论(0编辑  收藏  举报