![]() |
|
#7
|
|||
|
|||
|
Quote:
![]() @New Tiger The calling convention in 64-bit is different from that of 32-bit. The x64 Application Binary Interface (ABI) uses a four-register fast-call calling convention by default. Space is allocated on the call stack as a shadow store for callees to save those registers. Meaning that the parameters are passed to the function through registers as a default which differs significantly from the 32-bit manner where the stack can be wholly used for passing the parameters. Example: Quote:
Please read these 2 pages for more info: Quote:
Then the VirtualProtect should work just fine in 64-bit also
|
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Code to efficiently break on entering code section??? | yaa | General Discussion | 4 | 05-08-2005 05:29 |
| enable buttons | code | General Discussion | 13 | 03-04-2003 15:42 |