C strings - byte, ubyte or char? (Discussion from Bugzilla)

Frits van Bommel fvbommel at REMwOVExCAPSs.nl
Fri Oct 5 03:24:21 PDT 2007


Regan Heath wrote:
> Shouldn't it also be possible to pass a string literal to MessageBoxW, 
> in which case the same treatment needs to be applied to wchar_t* AKA 
> short*.

IIRC MessageBoxW takes its string in UTF-16, so a wchar* should be fine.



More information about the Digitalmars-d mailing list