The MASM Forum

Projects => MASM32 => Full SDK Include Project => Topic started by: TouEnMasm on August 27, 2015, 11:01:53 PM

Title: correction needed for PROTO C in 64 bits
Post by: TouEnMasm on August 27, 2015, 11:01:53 PM
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