On Mon, 26 Apr 2004 23:50:35 +0900, Dmitry Timoshkov wrote:
I'm wondering how your patch works at all, the call should smash the stack since it misses WINAPI modifier.
In some circumstances apps can survive stack corruption caused by incorrect calling conventions. There was a good entry in Raymond Chens blog about this a few months ago, explaining why and how Windows repairs the stack in particular situations.