Visual Studio 2005 application deployment
-
Hello, Does anyone know whic *.dll files I need to include with my VS2005 C++(MFC) Application in order to run it on other machine, which does not have VS2005 installed ? thanks
-
Hello, Does anyone know whic *.dll files I need to include with my VS2005 C++(MFC) Application in order to run it on other machine, which does not have VS2005 installed ? thanks
There's a redistributable program that comes with VC2005, which installs all the WinSXS stuff for MFC in the right folders. It's called vcredist2005 or something along those lines.
Christian Graus - Microsoft MVP - C++ Metal Musings - Rex and my new metal blog
-
Hello, Does anyone know whic *.dll files I need to include with my VS2005 C++(MFC) Application in order to run it on other machine, which does not have VS2005 installed ? thanks
The easiest way is to run the vcredist_x86.exe redistribution module. You should have it in your Visual Studio 8\SDK\v2.0\BootStrapper\Packages\vcredist_x86 folder. If not you can get it from http://www.microsoft.com/downloads/details.aspx?familyid=32BC1BEE-A3F9-4C13-9C99-220B62A191EE&displaylang=en[^]
You may be right
I may be crazy
-- Billy Joel --Within you lies the power for good, use it!!!
-
Hello, Does anyone know whic *.dll files I need to include with my VS2005 C++(MFC) Application in order to run it on other machine, which does not have VS2005 installed ? thanks
Thanks for replies guys, but I am interested specifically in the *.dll files which are required for given program to run on another machine.
-
Thanks for replies guys, but I am interested specifically in the *.dll files which are required for given program to run on another machine.
Perhaps you should read the docs pertaining to the redistritubals for your compiler/SDK. Sometimes distributing a single dll is not permitted, the whole installer must be distributed instead. This is the case with DirectX, you cannot distribute a single 3mb dll, you must send the 40mb installer or provide a weblink ( the installer will download and install ).
-
Hello, Does anyone know whic *.dll files I need to include with my VS2005 C++(MFC) Application in order to run it on other machine, which does not have VS2005 installed ? thanks
One upon a time, in a galaxy far away, before an evil empire consumed all the protoculture on earth, you could statically link MFC to your Visual C++ application so you wouldn't have to worry about which dll's (except GDI+ on pre-XP boxes of course) you needed to send out the door with your app. It used to be in the Project settings/properties in VC++ 6.0 and 2003. Please tell me the children of the shadow did not remove that option from VC++ 2005. I'm still struggling with them cancelling Paul DiLascia's "C++ At Work" articles and I don't think I can take much more of this assimilation. Does the option to statically link still exist on 2005?
-
Hello, Does anyone know whic *.dll files I need to include with my VS2005 C++(MFC) Application in order to run it on other machine, which does not have VS2005 installed ? thanks
The docs: Deployment (C++)[^]