AfxGetAppName
この関数が返す文字列は診断メッセージまたはルートの一時文字列名として使用できます。
LPCTSTR AFXAPI AfxGetAppName( );
戻り値
アプリケーション名を含む null で終わる文字列。
使用例
// Print the application name to the debugger output window.
TRACE(_T("Application name is %s\n"), AfxGetAppName());
必要条件
ヘッダー: afxwin.h