Unicode strings

Alexandre Julliard julliard at winehq.org
Mon Oct 6 15:22:50 CDT 2003


Eric Pouech <pouech-eric at wanadoo.fr> writes:

> the (const WCHAR[]){'T','e','x','t'} (don't forget the trailing '\0')
> is the preferred. We all know it's a PITA, but it's better to put the
> constraint once, at code writing time.

Note that the (const WCHAR[]) cast is not portable, so you shouldn't
use that. You need to declare a real array of WCHARs.

-- 
Alexandre Julliard
julliard at winehq.com



More information about the wine-devel mailing list