To personalize the behavior, override this functionality inside of a derived CWinApp Class or go your individual application recovery method as being a parameter to CWinApp::RegisterWithRestartManager. AfxGetAppName Obtains a pointer to your string that contains the application's identify. Alternately, For those who have a pointer to your CWinApp object, use https://cwin.academy/