http://bugs.winehq.org/show_bug.cgi?id=27468 --- Comment #51 from Qian Hong <fracting(a)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.