We have a DLL-MEX file that uses the MS Multi-media SDK. We compiled this with Visual C++ 1.5.1 under Windows 3.1. It runs fine. Under Windows 95 MATLAB will not accept the same DLL-MEX file (invalid format).
The best that we and The Mathworks can come up with is that the MM SDK is smart enough to use 16-bit DLLs in Windows 3.1 and 32-bit DLLs in Windows95 - thus confusing MATLAB which cannot interact with 32-bit DLLs.
Any ideas? [Other than call MicroSoft - we've done that already ;).] -- Robert Henson Cybernet Systems, Tokyo ,JAPAN Tel: -81-3-5978-5411 Fax: -81-3-5978-5440 E-mail: email@example.com Web: http://www.cybernet.co.jp