'Include files for MASM x64
I am new to programming windows MASM applications and from what I understand in order to call WinAPI functions I need to first include the appropriate .inc files.
I am using Visual Studio 2019 and I can't find anywhere on my system windows.inc files what so ever. I've
searched online and I couldn't find any SDK for x64 MASM.
This question was asked a while ago but the answer is only relevant for x32 assembly.
Solution 1:[1]
I'm not sure if you're still wanting an answer, probably not since this was asked almost a year ago, but I'll reply to help anyone who may also be wondering. I just started trying to learn MASM and I was having a lot of trouble setting everything up, in fact I'm still working on getting x86 to work correctly on an USB (I think masm32 must be at the root of the USB(note: for old version, updated version will be more like x64))
For x64 you'll need Visual Studio installed, I'm using VS 2022. My examples should give you a good idea, just change to match your specific set up.
ml64.exe, link.exe, and lib.exe are all in the same folder:
C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.31.31103\bin\Hostx64\x64\ml64.exe
The resource compiler, rc.exe, is in a different folder:
C:\Program Files (x86)\Windows Kits\10\bin\10.0.19041.0\x64\rc.exe
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | D MOD |
