He is a genius - always staying in business with a new update of primes!!
A
Armin Fryder
@Armin Fryder
Posts
-
at least he tried -
Design issue with SDI appIf you don´t necessarily need a file, what about the registry, otherwise you could use the applications´ ini file. 1) If the Views are using the same CDocument and you don´t need these variables anywhere else than in these view, you might as well put them in CDocumen, otherwise in CWinApp 2) The CWinApp object gives a halfway decent support to write an read from the ini file CWinApp::WriteProfileInt CWinApp::GetProfileInt CWinApp::GetProfileString CWinApp::GetProfileString... when the app quits, you can write your stuff within the virtual CWinApp::ExitInstance()... 3) Easiest thing to do is to throw out the resources directly from the menu.