AfxGetAppName
TRY
TOC
Collapse the table of content
Expand the table of content

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.

Example

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

Requirements

Header: afxwin.h

Show:
© 2016 Microsoft