[Bug 8229] callbacks from win16 extended program that allocate linear memory screw up pointers

Wine Bugs wine-bugs at winehq.org
Mon Apr 30 01:26:56 CDT 2007


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





------- Additional Comments From lupien at physique.usherbrooke.ca  2007-30-04 01:26 -------
Created an attachment (id=6032)
 --> (http://bugs.winehq.org/attachment.cgi?id=6032&action=view)
patch to dlls/user32/winproc.c to prevent unhandled memory exception

Thi is a patch to dlls/user32/winproc.c that remaps the pointer data to the
client application after coming back from a callback for the WM_MDICREATE and
WM_CREATE messages of WINPROC_CallProc16To32A. Note that cs->lpszName and
cs->lpszClass (see CREATESTRUCT16to32A) are not remapped so they could create
problems somewhere int he callback (not for me though).

-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the wine-bugs mailing list