One would hope that using assembly in Microsoft Visual C++ 2017 would be almost as easy (for those like me who have been writing assembly for over 50 years) as C/C++. These hopes have been dashed.
The help I find online says to Right click on your project’s name and choose “Build Dependencies” then “Build Customizations…”. Or “Project->(right click)->Build Dependencies->Build Customizations...->(check) masm” which is a non-starter because Project->(right click)->Build Dependencies is not an offered choice.
My code assembles from ml64 after removing a few items that masm requires to know the target processor type. And FWIW it appears that extern "C" void myAsmFunc(unsigned int*); requires ‘public _myAsmFunc’. I find that added under bar annoying.
So how do I get not just this particular .asm to assemble but define a general rule for all ml64 assembly code? (It would be nice to enable masm for 32-bit targets. But that’s not what I’m asking.)