News:

Masm32 SDK description, downloads and other helpful links
Message to All Guests

Main Menu

[RESOLVED] ml64.exe and Windows 7 doesn't produce anything

Started by Negens, January 19, 2017, 10:37:00 AM

Previous topic - Next topic

hutch--

I have tracked down the time lag that JJ mentioned. I downloaded the vs 2017 release candidate enterprise edition (all 15 gig of it) and climbed through an archipelago of directories,

C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\VC\Tools\MSVC\14.10.24930\bin>

And found the usual 2 different versions of ML64. The version under "hostX64" is larger and probably a 64 bit version. It had some seconds delay before it will build a simple x64 app. The version under "hostX86" is smaller and probably a 32 bit executable but its much faster than the other and builds 64 bit MASM file just fine.

Here is a simple demo of picking the right version of ML64 for Windows 10 64 bit. Clean simple 64 bit MASM code.  :biggrin:

; ¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤

    include \masm32\include64\masm64rt.inc

    .code

; ¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤

entry_point proc

    conout lf,"Hi hi hi, I am a console app built with",lf, \
              "ML64 version 14.10.24930.0 from VS 2017",lf, \
              "on Windows version 10 professional 64 bit",lf,lf
    waitkey

    invoke ExitProcess,0

    ret

entry_point endp

; ¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤

    end


Build output.

Microsoft (R) Macro Assembler (x64) Version 14.10.24930.0
Copyright (C) Microsoft Corporation.  All rights reserved.

Assembling: console.asm
Volume in drive K is disk3_k
Volume Serial Number is 68C7-4DBB

Directory of K:\asm64\console

02/21/2017  02:20 PM               590 console.asm
02/21/2017  02:23 PM             4,096 console.exe
02/21/2017  02:23 PM             2,526 console.obj
               3 File(s)          7,212 bytes
               0 Dir(s)  973,757,313,024 bytes free
Press any key to continue . . .


App output.


Hi hi hi, I am a console app built with
ML64 version 14.10.24930.0 from VS 2017
on Windows version 10 professional 64 bit

Press any key to continue...


Cruel ain't it.  :P