Bug Fix: WM_GETTEXT should return NULL string if LB_GETCURSEL is LB_ERR

Francois Gouget fgouget at free.fr
Wed Jul 17 01:37:31 CDT 2002


On Wed, 17 Jul 2002, Dmitry Timoshkov wrote:

> "Francois Gouget" <fgouget at free.fr> wrote:
>
> > 'H','e','n','c','e',' ','t','h','e',' ','t','e','r','m',' ',
> > 'k','l','u','d','g','e','.',
> > ';','-',')'
>
> Especially taking into account that it's very unlikely that
> anybody will write such strings using anything except plain
> ASCII.
>
> UNICODE_STRING fooW;
> char foo[] = "This is my answer in English. It's not a kluge."
>              "üÔÏ ÍÏÊ ÏÔ×ÅÔ ÎÁ ÒÕÓÓËÏÍ. îÅ ÔÁËÏÊ ÕÖ É ÕÖÁÓÎÙÊ :-)";
>
> RtlCreateUnicodeStringFromAsciiz(&fooW, foo);

Yes but that involves a runtime conversion :-(


--
Francois Gouget         fgouget at free.fr        http://fgouget.free.fr/
                  Dieu dit: "M-x Lumière". Et la lumière fut.




More information about the wine-devel mailing list