Export (0) Print
Expand All
TRY
Expand Minimize
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( ); 

Return Value

A null-terminated string containing the application's name.

Example

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

See Also

MFC Macros and Globals

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.