Nov 14, 2002 #1 bitbit Programmer Nov 14, 2002 14 US How do I get the actual name of the application if the user has changed it? PS: Anybody else having trouble with this site? Can't log in and when i do I get gibberish half the time.
How do I get the actual name of the application if the user has changed it? PS: Anybody else having trouble with this site? Can't log in and when i do I get gibberish half the time.
Nov 15, 2002 #2 tchouch Programmer Apr 18, 2001 300 DE With MFC: CString name = AfxGetAppName( ); Or so: if(AfxGetApp()) { name = AfxGetApp()->m_pszExeName; } Upvote 0 Downvote
With MFC: CString name = AfxGetAppName( ); Or so: if(AfxGetApp()) { name = AfxGetApp()->m_pszExeName; }
Nov 15, 2002 #3 mingis Programmer Jan 23, 2002 475 LT If you do not use MFC, look at third parameter of cWinMain or at argv[0] from main(int argc, char *argv). Upvote 0 Downvote
If you do not use MFC, look at third parameter of cWinMain or at argv[0] from main(int argc, char *argv).