http://bugs.winehq.org/show_bug.cgi?id=10043
Louis Lenders xerox_xerox2000@yahoo.co.uk changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |xerox_xerox2000@yahoo.co.uk URL| |http://www.babaschess.net/ Component|test |wine-richedit Keywords| |download, regression
--- Comment #1 from Louis Lenders xerox_xerox2000@yahoo.co.uk 2007-10-15 13:08:05 --- Hi, could you try what happens using native riched20?
I don't have a password/account, and i used version 4.0, so i just tried to type some text, and i also see the error messagebox. I just typed "qqqqq". Now with native riched20 i see in the log:
0009:Call KERNEL32.WideCharToMultiByte(00000000,00000000,0033e17c L"qqqqq",00000006,00000000,00000000,00000000,00000000) ret =00ea694c 0009:Ret KERNEL32.WideCharToMultiByte() retval=00000006 ret=00ea694c
Looks ok to me.
With builtin riched20 i see:
0009:Call KERNEL32.WideCharToMultiByte(00000000,00000000,01047228 L"qqqqq\r\n",ffffffff,00f09c00,00000007,00000000,00000000) ret=61779a3c 0009:Ret KERNEL32.WideCharToMultiByte() retval=00000000 ret=61779a3c
and shortly after it "crashes". I guess the problem is the "string" is mistakenly translated into "string\r\n" by riched20. Maybe some richedit guru could comment on this?