System.DllNotFoundException: Unable to load DLL on window 2003

前端 未结 4 1186
野趣味
野趣味 2020-12-30 10:22

I have c++ dll using in my c# project, It ran fine on my window xp machine, but when i copy my debug project on window 2003 server (x64), i received error below, can any one

4条回答
  •  甜味超标
    2020-12-30 10:22

    Is lib.dll a 32-bit DLL? Your C# program will run on x64 natively but will be unable to load 32-bit DLLs. You can try changing the target CPU of the C# project to "x86" to force it to run under WOW64.

提交回复
热议问题