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 (최근 30일)
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.

답변 (2개)

Sanchali Purandare
Sanchali Purandare 2011년 1월 16일
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 2011년 1월 20일
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.

카테고리

Help CenterFile Exchange에서 C Shared Library Integration에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by