Author Topic: Microsoft C using the 64 bit MASM library  (Read 358 times)

hutch--

  • Administrator
  • Member
  • ******
  • Posts: 6509
  • Mnemonic Driven API Grinder
    • The MASM32 SDK
Re: Microsoft C using the 64 bit MASM library
« Reply #15 on: August 02, 2019, 09:53:49 PM »
Erol,

It worked fine here. Looking at the include at the start, now you know why I bundled them all together in one include directory.
hutch at movsd dot com
http://www.masm32.com    :biggrin:  :skrewy:

TimoVJL

  • Member
  • ***
  • Posts: 389
Re: Microsoft C using the 64 bit MASM library
« Reply #16 on: August 02, 2019, 11:08:35 PM »
I also just collected WDDK 7.10 inc files to a one include directory.
Those are WDDK msvc 2010 files and have a support for OS msvcrt.dll.

EDIT: for testing with Pelles C 9 headers:
Code: [Select]
bin\cl.exe -GS- -MD -wd4068 -wd4103 -D__midl -D__POCC__=900 -D__POCC_TARGET__=1 -Drestrict=__restrict -D__WCHAR_TYPE__=short -D__SIZE_TYPE__=__int32 foo.cx64
__POCC_TARGET__=3
__SIZE_TYPE__=__int64

Code: [Select]
cl -GS- -Zl -O2 -wd4068 -wd4103 -DWIN32_LEAN_AND_MEAN -D__midl -D__POCC__=900 -D__POCC_TARGET__=3 -Drestrict=__restrict -D__WCHAR_TYPE__=short -D__SIZE_TYPE__=__int64 cplusasm.c kernel32.lib user32.lib gdi32.lib M:\masm32\m64lib\m64lib.lib  rsrc.res -link -nodefaultlib -entry:main -map -nocoffgrpinfo -safeseh:no -subsystem:windows,5.2
« Last Edit: August 04, 2019, 04:56:22 PM by TimoVJL »
May the source be with you

daydreamer

  • Member
  • ****
  • Posts: 865
  • watch Chebyshev on the backside of the Moon
Re: Microsoft C using the 64 bit MASM library
« Reply #17 on: August 03, 2019, 12:53:18 AM »
works great here Erol :thumbsup:
Quote from Flashdance
Nick  :  When you give up your dream, you die
*wears a flameproof asbestos suit*