Path: news.mathworks.com!newsfeed-00.mathworks.com!news.kjsl.com!usenet.stanford.edu!newsfeed.berkeley.edu!ucberkeley!newsgate.cuhk.edu.hk!www.shinco.com!not-for-mail
From: Water Lin <WaterLin@ymail.invalid>
Newsgroups: comp.soft-sys.matlab
Subject: Link error from Visual Studio 2005
Date: Wed, 04 Nov 2009 12:54:38 +0800
Organization: A poorly-installed InterNetNews site
Lines: 23
Message-ID: <83r5sezy7l.fsf@ymail.invalid>
NNTP-Posting-Host: 59.37.5.24
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Trace: www.shinco.com 1257310478 16080 59.37.5.24 (4 Nov 2009 04:54:38 GMT)
X-Complaints-To: news@www.shinco.com
NNTP-Posting-Date: Wed, 4 Nov 2009 04:54:38 +0000 (UTC)
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (windows-nt)
Cancel-Lock: sha1:SeMpauF4+gE1rsRcV4wvD/1n1L8=
Xref: news.mathworks.com comp.soft-sys.matlab:582240



I am using Matlab 7 and Visual Studio 2005. I want to write a program in
Visual C++ 2005 and use functions in Matlab 7.

Here is my reference:
-----------
http://wibirama.com/dip/wp-content/uploads/2008/11/matlab-and-ms-studio.pdf

I did exactly the same as this document described. I also use the same
test code in this document. But after I compiled the code successfully
and try to run the exe file, the exe shows an error like this:
-----------
This application has failed to start because libmx.dll was not
found. Re-installing the application may fix this problem.
-----------

I don't know why and I also can't google the match reason. Is it
possible to use Matlab 7 with Visual C++ 2005? What's wrong?


-- 
Water Lin's notes and pencils: http://en.waterlin.org
Email: WaterLin@ymail.com