This topic has not yet been rated - Rate this topic

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());


Header: afxwin.h

Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ