From: Tim on
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.
From: Tim on
To clarify, the runtime needs Microsoft Visual C++ 2005 Redistributable Package _SP1_

"Tim" <tadler(a)wcmbllc.remove.this.com> wrote in message <hcsuqb$6sv$1(a)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.