[Bug 27468] QQ International crashes when clicking on password form if dlls/user32/hook.c is build with -O2

wine-bugs at winehq.org wine-bugs at winehq.org
Sat Apr 20 00:44:17 CDT 2013


http://bugs.winehq.org/show_bug.cgi?id=27468

--- Comment #51 from Qian Hong <fracting at gmail.com> 2013-04-20 00:44:17 CDT ---
(In reply to comment #50)
> Created attachment 44223 [details]
> 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?

Hi Dan,

This patch works for me, thanks a lot, great work!
Thanks Jacek as well, as always.

-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the wine-bugs mailing list