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

Regan Heath regan at netmail.co.nz
Fri Oct 5 03:41:08 PDT 2007


Frits van Bommel wrote:
> 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.

Ahh, of course, silly me :)



More information about the Digitalmars-d mailing list