On Friday, 26 October 2018 at 12:56:21 UTC, rikki cattermole wrote: > MessageBoxA(null, cast(const(char)*)content.ptr, > cast(const(char)*)"Window title".ptr, 0); Get rid of those casts, they are unnecessary.