http://bugs.winehq.org/show_bug.cgi?id=4897
pgr@arcelectronicsinc.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|Regression page fault at |Regression Use explorer to |access to 0xffffffff in 16 |handle desktop window fails |bit application |with 16 bit application
------- Additional Comments From pgr@arcelectronicsinc.com 2006-21-03 16:30 ------- Reversing this one change in server/window.c allows my application to run with the current git.
DECL_HANDLER(get_desktop_window) { - struct window *win = get_desktop_window( current, 1 ); + struct window *win = get_desktop_window( current, req->force ); if (win) reply->handle = win->handle; }
The trace show that a 32bit window is created for the 16 bit application if req-force is used and shortly followed by a page fault. With req->force replaced by 1 a 16 bit window is created and things function.
There is a problem with borland's easywin lib and it will not run on win98 or higher with the same type page fault.