http://bugs.winehq.org/show_bug.cgi?id=27468
Dan Kegel dank@kegel.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #44214|0 |1 is obsolete| |
--- Comment #50 from Dan Kegel dank@kegel.com 2013-04-20 00:01:44 CDT --- Created attachment 44223 --> http://bugs.winehq.org/attachment.cgi?id=44223 Wrap hook proc in case it uses wrong calling convention
Jacek suggests it could be a calling convention mismatch... and sure enough, the address of the local variable ret in call_hook_proc changes. As Jacek suggests, the thing to do is insulate ourselves from the value of SP on return from the proc, as in WINPROC_wrapper(). This patch works for me with QQ International on 32 bits. Does it work for you, too?