const char* AfxGetAppName( );
Returns a null-terminated string containing the Windows application's name. This string is useful for diagnostic messages or as a root for temporary string names.
A null-terminated string containing the application's name.