运行Visual Studio版本建立不同的机器上的.exe文件 [英] running visual studio release build .exe file in different machines
问题描述
我已经建立了一个Visual Studio C ++控制台应用程序(64发行版)。在发布文件夹中的.exe文件运行正常使用所需的dll。
当我尝试到其他机器上运行它,它会抛出错误
I have built a visual studio c++ console application(x64 release build). The .exe file in the release folder runs fine with the required dlls. When i try to run it on other machine it throws error
应用程序无法正常启动(0xc000007b)。单击确定关闭应用程序
The Application was unable to start correctly (0xc000007b). Click OK to close the application
有没有x86的64位LIB不匹配的问题。
There is no x86-x64 lib mismatch issues.
在另一台机器它的工作原理well.I不知道是否需要的任何资源来运行.exe
In another machine it works well.I don't know whether it needs any resource to run the .exe
我试图构建的应用程序静态还没有结果。
I have tried building the application statically still no results..
推荐答案
您需要您的目标机器上相同的Visual Studio可再发行组件.dll文件。
You need the same Visual Studio redistributable .dlls on your target machine.
你要么需要安装可再发行,或在该机器上安装Visual Studio。
You'll either need to install the redistributable or install visual studio on that machine.
另外请注意,它的确与众不同无论你使用防爆preSS与否。
Also note that it makes a difference whether you're using Express or not.
所以你不能在Visual Studio 2008中前preSS开发,然后再安装Visual Studio 2008的可再发行。
So you can't develop on Visual Studio 2008 Express and then install the Visual Studio 2008 Redistributable.
这篇关于运行Visual Studio版本建立不同的机器上的.exe文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!