1
0
mirror of https://github.com/SoftEtherVPN/SoftEtherVPN.git synced 2024-11-25 10:59:53 +03:00

Add debug print for dbgview.exe( www.sysinternal.com ) or other debug view tools

This commit is contained in:
tinyserver 2018-04-16 07:48:13 +08:00
parent 64fd19e6f8
commit 3c661019e3

View File

@ -3511,6 +3511,9 @@ void Win32PrintToFileW(wchar_t *str)
return;
}
/* When debugging in windows, you can use dbgview.exe( sysinternal.com ) or other same tools to trace debug print */
OutputDebugStringW(str);
utf = CopyUniToUtf(str);
WriteFile(hstdout, utf, StrLen(utf), &size, NULL);