Path: news.mathworks.com!not-for-mail
From: <HIDDEN>
Newsgroups: comp.soft-sys.matlab
Subject: Re: FYI: Need to install MS VC 2005 redistributable when using matlab compiler/component runtime
Date: Mon, 9 Nov 2009 18:02:03 +0000 (UTC)
Organization: Windham Capital Management
Lines: 12
Message-ID: <hd9ler$h87$1@fred.mathworks.com>
References: <hcsuqb$6sv$1@fred.mathworks.com>
Reply-To: <HIDDEN>
NNTP-Posting-Host: webapp-05-blr.mathworks.com
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
X-Trace: fred.mathworks.com 1257789723 17671 172.30.248.35 (9 Nov 2009 18:02:03 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Mon, 9 Nov 2009 18:02:03 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 288795
Xref: news.mathworks.com comp.soft-sys.matlab:583604


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.