Thread Subject: FYI: Need to install MS VC 2005 redistributable when using matlab compiler/component runtime

Subject: FYI: Need to install MS VC 2005 redistributable when using matlab compiler/component runtime

From: Tim

Date: 4 Nov, 2009 22:22:03

Message: 1 of 2

Just spent several days trying to get our app built with vs2003/matlab 7.6/xp/vista working with vs2003/matlab r2009B/Windows 7.

The app was bombing during startup. Noticed the error message below in the event viewer. Installed MS VC 2005 redistributable and everything started working.

Would have expected these DLLs to be included in the MCRinstaller. MCRinstaller is a bloated 176MB - surely room enough for a couple of extra DLLs.

Tim.

Activation context generation failed for "C:\Program Files\MATLAB\MATLAB Compiler Runtime\v711\bin\win32\hg.dll". Dependent Assembly Microsoft.VC80.MFC,processorArchitecture="x86",publicKeyToken="1fc8b3b9a1e18e3b",type="win32",version="8.0.50727.762" could not be found. Please use sxstrace.exe for detailed diagnosis.

Subject: FYI: Need to install MS VC 2005 redistributable when using matlab compiler/component runtime

From: Tim

Date: 9 Nov, 2009 18:02:03

Message: 2 of 2

To clarify, the runtime needs Microsoft Visual C++ 2005 Redistributable Package _SP1_

"Tim" <tadler@wcmbllc.remove.this.com> wrote in message <hcsuqb$6sv$1@fred.mathworks.com>...
> Just spent several days trying to get our app built with vs2003/matlab 7.6/xp/vista working with vs2003/matlab r2009B/Windows 7.
>
> The app was bombing during startup. Noticed the error message below in the event viewer. Installed MS VC 2005 redistributable and everything started working.
>
> Would have expected these DLLs to be included in the MCRinstaller. MCRinstaller is a bloated 176MB - surely room enough for a couple of extra DLLs.
>
> Tim.
>
> Activation context generation failed for "C:\Program Files\MATLAB\MATLAB Compiler Runtime\v711\bin\win32\hg.dll". Dependent Assembly Microsoft.VC80.MFC,processorArchitecture="x86",publicKeyToken="1fc8b3b9a1e18e3b",type="win32",version="8.0.50727.762" could not be found. Please use sxstrace.exe for detailed diagnosis.

Tags for this Thread

Add a New Tag:

Separated by commas
Ex.: root locus, bode

What are tags?

A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.

Anyone can tag a thread. Tags are public and visible to everyone.

rssFeed for this Thread

Contact us at files@mathworks.com