http://bugs.winehq.org/show_bug.cgi?id=8229
------- Additional Comments From lupien@physique.usherbrooke.ca 2007-30-04 01:31 ------- Created an attachment (id=6033) --> (http://bugs.winehq.org/attachment.cgi?id=6033&action=view) patch to dlls/user32/msg16.c to prevent unhandled memory exception
This patch to the DispatchMessage16 function of dlls/user32/msg16.c also fixes an exception that occured after coming back from the callback. The msg pointer then points nowhere. Contrary to the previous patch, the original segment:offset is lost by the implicit conversion done by the relay16.c routines so I used another way (a temporary local copy of the structure).
This is my last patch for the day. Enjoy!