After changing the app name,
AfxMessageBox
Title will change
AFXGetApp () -> m_pszappname;
Refer to MSDN, modification
The content of m_pszappname needs to be released first, and then allocate to his new memory.
Free ((void *) m_pszappname);
m_pszappname = _tcsdup (_t ("new name"));