There is an issue with nglPath::Canonize, I'm currently investigating the issue.
This code will crash (nglString::Delete):
nglPath p(_T("../../a.txt"));
NGL_OUT(_T("p BEFORE: %s\n"), p.GetChars());
p.Canonize();
NGL_OUT(_T("p AFTER: %s\n"), p.GetChars());
There is an issue with nglPath::Canonize, I'm currently investigating the issue.
This code will crash (nglString::Delete):