郁闷,老是乱跑什么啊,清楚记忆功能
1、在App中注释掉
// LoadStdProfileSettings(4); // Load standard INI file options (including MRU)
// SetRegistryBase (_T("Settings"));
2、在MainFrame中注释掉Onclose中的
SaveMDIState (theApp.GetRegSectionPath ());
并将原来的
CBCGPMDIFrameWnd::OnClose();
改为
CMDIFrameWnd::OnClose();