"not a valid win32 application

10 visualizaciones (últimos 30 días)
Steve
Steve el 24 de Jun. de 2011
Respondida: Pooja el 22 de Mayo de 2024
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?

Respuestas (2)

Kaustubha Govind
Kaustubha Govind el 24 de Jun. de 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 comentarios
Steve
Steve el 27 de Jun. de 2011
The dll was built about 10 years ago on windows 97, so it was compiled before win32. However MatLab 5.2 accepts it without error but Matlab R2007b does not and gives the error message that the dll is 'not a valid win32 application'. What is the difference between Matlab 5.2 & R2007b?
Kaustubha Govind
Kaustubha Govind el 27 de Jun. de 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.

Iniciar sesión para comentar.


Pooja
Pooja el 22 de Mayo de 2024
epanet2.dll is not a valid Win32 application error coming for MATLAB R2024

Categorías

Más información sobre Startup and Shutdown en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by