// Unicode项目(默认) OutputDebugString(L"宽字符调试信息\n"); // 非Unicode项目 OutputDebugString("ANSI调试信息\n"); DWORD errorCode = GetLastError(); char buffer[256]; sprintf_s(buffer, "错误码: %d\n", errorCode); OutputDebugStringA(buffer); |
本帖最后由 Qter 于 2023-5-4 19:08 编辑 OutputDebugString Dbgview ::OutputDebugString(_T("Floating point (%%e, %%f, %%g, and %%G) is not supported by the WTL::CString class.")); OutputDebugString(("Handles " + IntToString(m_handles.size()) + ", Woke up by " + IntToString(result-WAIT_OBJECT_0) + ", Busied for " + IntToString(timeBeforeWait-lastTime) + " us, Waited for " + IntToString(timeAfterWait-timeBeforeWait) + " us, max " + IntToString(milliseconds) + "ms\n").c_str()); |
|Archiver|手机版|小黑屋|firemail
( 粤ICP备15085507号-1 )
GMT+8, 2025-5-1 03:46 , Processed in 0.058451 second(s), 23 queries .
Powered by Discuz! X3
© 2001-2013 Comsenz Inc.