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

Shachar Shemesh wine-devel at sun.consumer.org.il
Wed Jul 17 04:25:17 CDT 2002


  Ok. At least have a small util to convert a string to this format.

            Sh.


Francois Gouget wrote:

>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