"not a valid win32 application
25 views (last 30 days)
Show older comments
I have MatLab 5.2 which quite happily runs an old pre win32 dll running on Windows XP. However when using MatLab R2007b it states that the dll is 'not a valid win32 application'. I do not have the source code for this old dll so cannot recompile it; is there a work around for this problem?
0 Comments
Answers (2)
Kaustubha Govind
on 24 Jun 2011
A similar problem was discussed in a previous question. Is your MATLAB a 64-bit installation? If yes, you cannot call into a 32-bit DLL. You can however install 32-bit MATLAB on your 64-bit machine to be able to call into the 32-bit DLL. See here for installation instructions and here for some caveats.
2 Comments
Kaustubha Govind
on 27 Jun 2011
Like I explained before - it is likely that you have the 64-bit version of MATLAB for R2007b (the first version of 64-bit MATLAB was R14SP3) and 32-bit MATLAB for the older version.
Pooja
on 22 May 2024
epanet2.dll is not a valid Win32 application error coming for MATLAB R2024
0 Comments
See Also
Categories
Find more on Introduction to Installation and Licensing in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!