std.stdio.File is throwing with the message of: "Access Violation"

jfondren julian.fondren at gmail.com
Fri Aug 20 21:44:20 UTC 2021


On Friday, 20 August 2021 at 21:19:09 UTC, Ruby The Roobster 
wrote:
>                MessageBoxA(null, "Error", 
> cast(char)[])e.msg,MB_OK | ICON_ERROR);

use std.string.toStringz to ensure that e.msg is 0-terminated.


More information about the Digitalmars-d-learn mailing list