VerQueryValue[A|W]

James Hatheway james at macadamian.com
Thu Feb 15 00:03:28 CST 2001


> 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: james at macadamian.com ~ http://www.macadamian.com
Home: jhatheway at home.com

  "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"




More information about the wine-devel mailing list