AfxGetAppName

LPCTSTR AfxGetAppName();

返回值:包含应用程序名字的以null字符结尾的字符串。

说明:
这个函数返回的字符串可以被用于诊断消息,或是用作一个临时字符串名的根。