What version of MASM are you using? The latest versions of MASM ( ml.exeand ml64.exe) work fine if you only run it from the command line (ie cmd.exe). As far as I remember, the MASM executable files are compiled as 32-bit and 64-bit versions.
source
share