开发者

Visual Studio 2005 Deployment

I have created an application on Windows XP, Visual Studio 2005, C++. I want to run the application using its .EXE file on a different computer but it crashes. I think it maybe related to some .dll missing files.

Am I in the right direction? If so, how do I know which files are missing? Is there a build option in the Visual to copy all the requested .dll to a specific place?开发者_开发技巧

Thanks, Asaf


The most likely answer is that the other computer is missing the Microsoft VC++ redistributable files. You can download the VS2005 (or VS2005 SP1) file from Microsoft. It's name is vcredist_x86.exe (assuming standard x86 build). Just run it on the target PC and then retry your app.


If you assume it is a missing DLL you can also use the Dependency Walker But I agree to Joel that most probably it will be the redist package that is missing or if you tried to use a debug version you might need the non redist package.

But you don't have to download them. They should be part of your VS installation. Somewhere in the VC/redist folder.


I use dependency walker to watch which dlls are missing for my program.


There's an in depth discussion of the options and steps required to get Visual Studio 2005 C++ Applications to run on machines which don't have Visual Studio installed here.

It includes detailed instruction for Visual C++ Express users too.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜