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.