News:

Masm32 SDK description, downloads and other helpful links
Message to All Guests
NB: Posting URL's See here: Posted URL Change

Main Menu

correction needed for PROTO C in 64 bits

Started by TouEnMasm, August 27, 2015, 11:01:53 PM

Previous topic - Next topic

TouEnMasm

Hello,
PROTO C in 64 bits need to be changed to fastcall.Here is the better way to proceed.
They are named cproto by the translated sdk,cproto= C in 32,cproto = fastcall in 64

1 step)Change the c prototype in the .sdk for 32 64 bits
Open the file to change with Notepad (math.sdk for example)
use edit-->replace menu
Copy paste those two strings in the box,between the ""
"PROTO C" change to "PROTO cproto"
And clic change all

2 step) add those switch constants in:
cproto equ <fastcall>         ;in \sdkrc81\shared\translate64.inc
cproto equ <C>         ;in \sdkrc81\shared\sdk32.inc
Fa is a musical note to play with CL