Missing dlls on 64 bit Win

后端 未结 2 1193
清歌不尽
清歌不尽 2021-01-02 12:50

I have a .net application that uses some vc++ compiled Win32 dlls. It works great on a 32 bit Win, but on 64 bit there is a problem: \"Unable to load DLL \'xyz\': The specif

2条回答
  •  灰色年华
    2021-01-02 13:41

    The whole process should be 32 or 64 bit. If you cannot compile all dependency libraries in 64 bit, you need to run .NET project in 32 bit. To do this, create x86 configuration (default is Any CPU) and build .NET project in this configuration.

    You also need to install VC++ 2010 redistributable package on destination computer, with correct bitness, in your case - x86. This package can be downloaded from Microsoft WEB site.

    If your program has installation package, VC++ redistributable should be added to it as single file or as merge modules.

提交回复
热议问题