Gilpow
Gilpow

Reputation: 21

MASM32 Assembling error - C:\masm32\bin\ml.exe is not a valid Win32 application

Wanting to learn some Assembly programming, I installed the MASM32 SDK. After that, I followed this video. So, after creating my first asm file, I navigated to its folder through the command prompt, then typed:

\masm32\bin\ml /c /Zd /coff [name of my asm file]   

just as the guy does at 2:40 in the video.

At this point, instead of getting the successful Assembling message, a window pops up, telling me that:

C:\masm32\bin\ml.exe is not a valid Win32 application

Why am I getting this? How can I solve?

My OS is 64 bit Windows 7.

Upvotes: 1

Views: 1318

Answers (2)

Gilpow
Gilpow

Reputation: 21

Solved by reinstalling the MASM32 SDK (same install.exe). To uninstall, simply delete the /masm32 folder. Solution suggested by Margaret Bloom.

Upvotes: 1

HiHat
HiHat

Reputation: 11

Please try it in Windows XP Mode (if you have Windows 7 Professional edition or above)! Windows XP Mode provides 32-bit virtual OS inside Windows 7 64-bit and can be downloaded and installed for users with Professional or above Windows 7 editions.

Upvotes: 0

Related Questions