Chinese text input into Notes R6 Mail field (windows/defwnd.c ??)

Dmitry Timoshkov dmitry at
Thu May 2 04:18:47 CDT 2002

"leanne" <leanne at> wrote:

> >LRESULT WINAPI DefWindowProcA( HWND hwnd, UINT msg, WPARAM wParam,
> >LPARAM lParam );
> >
> >case WM_IME_CHAR:
> >charW = wParam;
> >printf("DefWindowProcA WM_IME_CHAR %08x\n", charW); // I got it correct!
> >- 4f60 (unicode of "you" in Chinese)
> >
> >//Is there something wrong here?

Something really wrong there. You shouldn't receive unicode characters
in the ANSI (DefWindowProcA) message handler. Apparently mapping of
WM_IME_CHAR and friends to/from unicode should be added in windows/winproc.c.

Just look how it was done for WM_CHAR, and try to add WM_IME_CHAR there.


More information about the wine-devel mailing list