Path: news.mathworks.com!not-for-mail
From: "Joaquim Luis" <jluis@--ualg--.pt>
Newsgroups: comp.soft-sys.matlab
Subject: Re: Last drop in a user's patience
Date: Sun, 16 Nov 2008 15:01:01 +0000 (UTC)
Organization: Univ do Algarve
Lines: 24
Message-ID: <gfpcjd$pkp$1@fred.mathworks.com>
References: <gflcij$3rm$1@fred.mathworks.com> <d1e62298-ffa0-446d-bd51-78932c271033@z28g2000prd.googlegroups.com>
Reply-To: "Joaquim Luis" <jluis@--ualg--.pt>
NNTP-Posting-Host: webapp-02-blr.mathworks.com
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
X-Trace: fred.mathworks.com 1226847661 26265 172.30.248.37 (16 Nov 2008 15:01:01 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Sun, 16 Nov 2008 15:01:01 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 594262
Xref: news.mathworks.com comp.soft-sys.matlab:501079


Praetorian <ashish.sadanandan@gmail.com> wrote in message <d1e62298-ffa0-446d-> Joaquim Luis
> 
> AFAIK there is no difference between a .dll and a .mexw32, you can
> rename your dlls to mexw32 and have them work. So the extension is not
> the cause of your code crashing.

Yes, you are right. Is not the extension that causes the problem. And, btw, one of the mex that crashes is mexnc, the port to the netCDF library. Another one that cessed working is a interface to the GDAL ibrary. Just "minor" things. 
 
> That being said, it is still very silly of TMW to issue that warning
> over a file naming convention! I'm still using R2007b but it'd be very
> annoying if I started seeing that warning every time I tried to load a
> dll in a future version. Wonder if it does that even for dlls that do
> not export the mexFunction interface i.e. dlls that are not mex files?

It is still a naming convention but TMW intend to make it real. See
http://www.mathworks.com/access/helpdesk/help/techdoc/index.html?/access/helpdesk/help/techdoc/rn/rn_intro.html
(burried in Version Compatibility Considerations ==>  External Interfaces)

namelly:

"Do Not Use DLL File Extensions for MEX-Files

In the future, on 32-bit Microsoft Windows systems, MATLAB will not support MEX-files with a .dll file extension. In MATLAB Version 7.7 (R2008b), if you run a MEX-file with a .dll file extension, MATLAB displays a warning."