exe文件未在另一台计算机上运行

exe文件未在另一台计算机上运行

本文介绍了Visual Studio 2005 .exe文件未在另一台计算机上运行的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个Visual Studio 2005 c ++应用程序在Windows 7 64位计算机上运行.我试图在另一台具有Windows 7 64位计算机上运行它,但是当我将其复制到桌面上并运行.exe文件时,没有回应.但是我没有在新机器上安装Visual Studio 2005 ide,我目前正在安装它.另外,我用谷歌搜索并得到了很多令人困惑的答案.有人可以告诉我这里可能有什么问题吗?

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?

推荐答案

您需要构建Release而不是Debug才能在没有Visual Studio的PC上运行应用程序.如果已经在执行此操作,请尝试将EXE加载到目标计算机上的 Dependency Walker 中,以查看可能还有哪些其他库丢失.

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.

这篇关于Visual Studio 2005 .exe文件未在另一台计算机上运行的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-18 10:36