[Bug 4897] Regression Use explorer to handle desktop window fails with 16 bit application

Wine Bugs wine-bugs at winehq.org
Tue Mar 21 16:30:52 CST 2006


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


pgr at 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 at 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.



-- 
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