> I guess logically, it should be converted, but I'm still
> trying to work out which function to use.

Hi Lawson,

To convert an ASCII string to Unicode, you can use the
function HEAP_strdupAtoW, as in:

wide_str = HEAP_strdupAtoW(GetProcessHeap(), 0, AsciiStr);

Be sure to HeapFree the string after your call to the wide-char version
of the API.


-James

--
James Hatheway
Work: [EMAIL PROTECTED] ~ http://www.macadamian.com
Home: [EMAIL PROTECTED]

  "Man könnte froh sein, wenn die Luft so rein wäre wie das Bier"
  "One could be happy if the air were as pure as the beer"


Reply via email to