James Hatheway james at
Thu Feb 15 07:14:09 CST 2001

> > To convert an ASCII string to Unicode, you can use the
> > function HEAP_strdupAtoW, as in:
> >
> > wide_str = HEAP_strdupAtoW(GetProcessHeap(), 0, AsciiStr);
> Please don't.  Use the win32 api instead, eg:

Oops, that will teach me to answer emails after midnight. ^_^
Of course, you are right, the Win32 API is the way to go.

HEAP_strdupAtoW is used all over the place in WINE,
perhaps someday we should change them all to use the proper
Win32 API?

James Hatheway
Work: james at ~
Home: jhatheway at

  "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