_stdcall changes in XP SP2
From: Anthony Wieser (wieser_at_clara.not)
Date: 08/13/04
- Next message: Rola: "Re: char array and pointer?"
- Previous message: anonymous_at_discussions.microsoft.com: "CStdioFile closing problem"
- Next in thread: Anthony Wieser: "Re: _stdcall changes in XP SP2"
- Reply: Anthony Wieser: "Re: _stdcall changes in XP SP2"
- Messages sorted by: [ date ] [ thread ]
Date: Fri, 13 Aug 2004 11:35:31 +0100
On all os's prior to XP SP2, the entry point for _stdcall/WINAPI functions
used to look like:
push ebp
mov ebp,esp
sub esp,0xNNNN // reserve stack
An example of this would be a function like wsprintf
Now with XP SP2, (msvcrt 7.0.260.2180) it looks like this:
mov edi,edi // ?*!*##
push ebp
mov ebp,esp
sub esp,0xNNNN // reserve stack
Can anybody fill us in on what the new code: mov edi, edi is for?
Also, is it the new version of the compiler that generates functions with
this signature, and if so, is there a way to turn it off?
Anthony Wieser
Wieser Software Ltd
- Next message: Rola: "Re: char array and pointer?"
- Previous message: anonymous_at_discussions.microsoft.com: "CStdioFile closing problem"
- Next in thread: Anthony Wieser: "Re: _stdcall changes in XP SP2"
- Reply: Anthony Wieser: "Re: _stdcall changes in XP SP2"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|