kyuseo의 게임 프로그래밍

Visual Studio 2003 에서 Trace는 유니코드(Unicode) 를 지원하지 않는다. 본문

C++ 개발

Visual Studio 2003 에서 Trace는 유니코드(Unicode) 를 지원하지 않는다.

kyuseo 2007. 12. 28. 19:44

개요..

 

Visual C++ 6.0 과 달리 Visual C++ 7.1 (Visual Studio 2003) 에서는 Trace가 유니코드(Unicode)를 지원하지 않아 올바른 작동을 하지 않습니다.

따라서 올바른 작동을 위해서는 반드시 Trace의 인자를 Ansi 코드로 입력해야 합니다.

 

 

참고

 

TRACE

See Also

MFC Macros and Globals | AfxDump | afxTraceEnabled

Sends the specified string to the debugger of the current application.

TRACE(exp ) TRACE(DWORD category, UINT level, LPCSTR lpszFormat, ... )

Remarks

See ATLTRACE2 for a description of TRACE. TRACE and ATLTRACE2 have the same behavior.

This macro is available only in the debug version of MFC.

For more information, see Debugging MFC Applications.