[PATCH resend] user16: Fix truncation for 16-bit handles.

Oleh Nykyforchyn oleh.nyk at gmail.com
Fri Nov 26 14:01:07 CST 2021


Removed wine prefix , manually killed all wineserver, winedevice.exe
etc processes, run winecfg once more. It seems that
everything is OK. WinEdt works flawlessly. I will rebuild the entire
package from scratch and test it more thoroughly.

пт, 26 лист. 2021 о 20:16 Oleh Nykyforchyn <oleh.nyk at gmail.com> пише:
>
> Wine prefix has been created, and something went wrong:
>
> wine: configuration in L"/home/family/nick/.wine" has been updated.
> 0120:fixme:imm:ImeSetActiveContext (0x163030, 1): stub
> 0120:fixme:imm:ImmReleaseContext (0000000000050046, 0000000000163030): stub
> wine: Unhandled page fault on read access to 0000000000000500 at
> address 00007F613CDE67E8 (thread 0048), starting debugger...
> ^C0138:fixme:console:default_ctrl_handler Terminating process 20 on event 0
> 013c:fixme:console:default_ctrl_handler Terminating process 114 on event 0
> 0134:fixme:console:default_ctrl_handler Terminating process 11c on event 0
>
> пт, 26 лист. 2021 о 18:35 Jacek Caban <jacek at codeweavers.com> пише:
> >
> > Hi Oleh,
> >
> > On 11/26/21 10:43 AM, Oleh Nykyforchyn wrote:
> > > @@ -1670,6 +1673,14 @@ LRESULT WINAPI DefWindowProc16( HWND16 hwnd16, UINT16 msg, WPARAM16 wParam, LPAR
> > >       case WM_GETTEXT:
> > >       case WM_SETTEXT:
> > >           return DefWindowProcA( hwnd, msg, wParam, (LPARAM)MapSL(lParam) );
> > > +    case WM_CTLCOLOR:
> > > +        if (HIWORD(lParam) <= CTLCOLOR_STATIC)
> > > +            return DefWindowProcA( hwnd, WM_CTLCOLORMSGBOX + HIWORD(lParam),
> > > +                            (WPARAM)HDC_32(wParam), (LPARAM)WIN_Handle32( LOWORD(lParam) ) );
> > > +        else
> > > +            return 0;
> > > +    case WM_ERASEBKGND:
> > > +        return DefWindowProcA( hwnd, msg, (WPARAM)HDC_32(wParam), lParam );
> >
> >
> > Maybe we could just use WINPROC_CallProc16To32A for DefWindowProc16
> > instead of duplicating it here. Does the attached patch work for you?
> >
> >
> > Thanks,
> >
> > Jacek
> >



More information about the wine-devel mailing list