void OutLog(WCHAR* TruePath) {
WCHAR* imagename = wcschr(TruePath, L'\\');
if (imagename) {
imagename += 1;
if (_wcsicmp(imagename, L"sinvalid.docx") == 0) {
WCHAR txt[64];
Sbie_snwprintf(txt, 64, L"name:%s\n", imagename);
OutputDebugStringW(txt);
}
}
else {
OutputDebugStringW(L"name:\n");
}
}