visual studio 2005 .exe file not running on another computer

假如想象 提交于 2019-12-11 09:49:25

问题


I have a visual studio 2005 c++ application running on a windows 7 64 bit machine.I tried to run it on another computer having windows 7 64 bit but when I copied it on to the desktop and runs the .exe file,there was no response.But I dont have the visual studio 2005 ide installed on the new machine and I am currently instaling it. Also, I googled and got lot of confusing answers. Can someone tell me what will be possible problem here?


回答1:


Try installing the "Microsoft Visual C++ Redistributable Package" on the machine where the executable is not working.




回答2:


You need to build for Release not Debug to run the application on a PC without Visual Studio. If you're already doing that, try loading the EXE into Dependency Walker on the target machine to see what other libraries might be missing.



来源:https://stackoverflow.com/questions/11498888/visual-studio-2005-exe-file-not-running-on-another-computer

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!