trace 썸네일형 리스트형 TRACE for Debug ( in MFC ) TRACE 매크로는 실제로 AfxTrace 함수로 연결되어 있다. AfxTrace의 함수 원형 void AFX_CDECL AfxTrace(LPCTSTR lpszFormat, ...) { va_list args; va_start(args, lpszFormat); int nBuf; TCHAR szBuffer[512]; nBuf = _vsntprintf(szBuffer, _countof(szBuffer), lpszFormat, args); // was there an error? was the expanded string too long? ASSERT(nBuf >= 0); if ((afxTraceFlags & traceMultiApp) && (AfxGetApp() != NULL)) afxDump m_pszEx.. 더보기 이전 1 다음