开发者

How can I compile a 32bit program and run it on a 64 OS system such as Windows 7?

I have a program compiled in Visual Studio 2005 in an x86 System (32-bits), but when I try to run it in x64 OS (64-bits Windwos 7, Windows 2003, Windows 2008) it doesn't execute, I only get the following message:

 "myapp.exe has stopped working
 Windows is checking for a solution to the problem... "

I installed the Microsoft Visual C++ 2005 Redistributable Package for 32 and 64bits both(vcredist_x86.exe and vcredist_x64.exe) on the execution machine but the application still doesn't run.

I have also changed the option on the Development machine in the Configuration Manager Window to generate from 'Any CPU' to 'x86' platform, with the same result.

Is there any other configuration option, dll, lib, or package that开发者_如何学C allows to compile myapp in 32-bit and execute in 64-bits?

Thanks for your suggestions.

Eugin.


You don't need to recompile your program to run on a 64bit OS, there is some other bug that is causing it to crash.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜