Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

Redeploying an Application Containing a Visual C++ Service Pack or Hotfix 

Visual Studio 2005

This topic is new for Visual Studio 2005 SP1.

Visual C++ 2005 SP1, similar to other service packs and hotfixes, installs a new version of the Visual C++ libraries. These new libraries are backwards binary-compatible with the libraries in Visual C++ 2005. Changes in the Visual C++ libraries for Visual C++ 2005 SP1 are expected to have no effect on symbols exported from runtime DLLs associated with the libraries. Visual C++ applications that are built with the Visual C++ 2005 version of the libraries might behave differently under Visual C++ 2005 SP1 because of updates to the Visual C++ libraries. However, applications will be able to load libraries at runtime and resolve calls to methods in the Visual C++ libraries regardless of which version of the libraries is installed. The libraries shipped with Visual C++ 2005 SP1 are a complete replacement of the libraries shipped in Visual C++ 2005, and you should use both for application development and for runtime execution.

We recommended that you update all computers that you use in application development to Visual C++ 2005 SP1. Once an application is rebuilt, it will depend on the Visual C++ 2005 SP1 libraries. If you install such an application on end-users computers, you will have to redistribute the libraries included with Visual C++ 2005 SP1. This topic describes how to do this.

After you apply the service pack or hotfix and rebuild your application, verify that the application is working as expected. Only when you are satisfied with the results of your testing, deploy the update to your application as follows:

  • If you originally deployed your application with a Visual C++ merge module, you should deploy your update with the new Visual C++ merge module that was included with the service pack or hotfix.

  • If you originally deployed your application with the Visual C++ Redistributable Package, you should deploy your update with the new Visual C++ Redistributable Package that was included with the service pack or hotfix.

  • If you originally deployed your application with an application local copy of a Visual C++ DLL, you should deploy your update with an application local copy of the Visual C++ DLL that was included with the service pack or hotfix.

Visual C++ 2005 Service Pack 1

Once an application is rebuilt with Visual C++ 2005 Service Pack 1, it will need the Visual C++ 2005 Service Pack 1 version of the Visual C++ libraries during runtime. Follow the instructions above in the previous section to deploy an update to your application.

See Also

Other Resources

Deployment (C++)

Community Additions

ADD
Show:
© 2015 Microsoft