Can I use the Visual C++ 2008 Redistributable Package instead of the 2005 version with MATLAB R2008a for my compiled stand-alone applications as it seems to be a newer version?

4 vues (au cours des 30 derniers jours)
I would like to know if I can use the Visual C++ 2008 Redistributable Package instead of the 2005 version with MATLAB R2008a for my compiled stand-alone applications, as it seems to be a newer version.

Réponses (2)

Sanchali Purandare
Sanchali Purandare le 16 Jan 2011
All Microsoft runtime libraries belonging to the different Visual Studio versions such as 6.0, 2003 (.NET 1.x), 2003 (.NET 2.x), 2005 and 2008 are independent and incompatible with each other. See the Related Solution listed below for more information on which version of the Visual C++ Redistributable Package is needed for each MATLAB and/or MCR version. Since MATLAB 7.6 (R2008a) requires the Visual C++ 2005 SP1 Redistributable Package, installing the 2008 version or any other version will not be enough and will lead to errors such as "Side-by-Side configuration error".

Shaf
Shaf le 20 Jan 2011
If the standalone application is built using the Visual C++ 2008 compiler then the Visual C++ 2008 Redistributable package will need to be installed on the deployment machine in addition to the Visual C++ 2005 SP1 Redistributable Package. The redistributable(runtime) libraries can be loaded side by side in the same process. Since MATLAB 7.6(R2008a) is built with Microsoft® Visual C++ 2005 SP1 (8.0) Professional Edition the 2005 redistributable libraries are always required. However the MCR installation should take care of this. Other redistributable requirement will be dictated by the deployed component.

Catégories

En savoir plus sur C Shared Library Integration dans Help Center et File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by