다음을 통해 공유


AfxGetAppName

The string returned by this function can be used for diagnostic messages or as a root for temporary string names.

LPCTSTR AFXAPI AfxGetAppName( );

반환 값

A null-terminated string containing the application's name.

예제

// Print the application name to the debugger output window.
TRACE(_T("Application name is %s\n"), AfxGetAppName());

요구 사항

헤더: afxwin.h

참고 항목

개념

MFC 매크로 및 전역