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
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.
NOTICE: Any content you submit to MATLAB Central, including personal information, is not subject to the protections which may be afforded information collected under other sections of The MathWorks, Inc. Web site. You are entirely responsible for
all content that you upload, post, e-mail, transmit or otherwise make available via MATLAB Central. The MathWorks does not control the content posted by visitors to MATLAB Central and, does not guarantee the accuracy, integrity, or quality of such content.
Under no circumstances will The MathWorks be liable in any way for any content not authored by The MathWorks, or any loss or damage of any kind incurred as a result of the use of any content posted, e-mailed, transmitted or otherwise made available
via MATLAB Central.
Read the complete Terms prior to use.