From: edurant@azure.engin.umich.edu (Eric Alan Durant) Subject: Re: Matlab 5.3.1 supports MSVC++ 6.0 for mex Date: 29 Dec 1999 00:00:00 GMT Message-ID: References: <38693271.244B6908@gmx.de> X-Trace: srvr1.engin.umich.edu 946433504 141.213.74.24 (Tue, 28 Dec 1999 21:11:44 EST) NNTP-Posting-Date: Tue, 28 Dec 1999 21:11:44 EST Newsgroups: comp.soft-sys.matlab stephane (smata1de@gmx.de) wrote: : can somebody tell me if it's now possible to use Visual C++ 6.0 : for crating mex files (which use indirectly the MFC 6.0). : Older Matlab (also Matlab 5.3) versions don't work. : The problem is well known at the Mathworks and they told me : that this bug will dissapear in a future release. I've successfully built MEX DLLs using MSVC 6.0 and Matlab 5.2.1.1420 on Win98. Although both Matlab and DevStudio are installed in the default locations, the default configuration for MSVC 5 (one for 6 is not available in Matlab 5.2.1) needed several fixes to work with MSVC 6. Also, I needed to patch about 10 lines of mex.bat and parcel out the perl portion into a separate file so that both the Win98 batch file interpreter and my perl (ActiveState build 518, based on 5.005) were happy. It took about 30 minutes to track down and fix all bugs. -- Eric Durant http://www.edurant.com/ ICQ: 9118339