Author Topic: correction needed for PROTO C in 64 bits  (Read 1153 times)

ToutEnMasm

  • Member
  • *****
  • Posts: 1189
    • EditMasm
correction needed for PROTO C in 64 bits
« 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
« Last Edit: February 15, 2016, 12:51:30 AM by ToutEnMasm »
Fa is a musical note to play with CL