M
mmrohs
Guest
Hello,
our company uses MS Visual C++ and MFC to develop a desktop application. All the frame settings are stored in files and transfered to MFC by overwriting the method CSettingsStore::Read(LPCTSTR lpszValueName, BYTE** ppData, UINT* pcbData).
MFC calls this method with the lpsuValueName DockingPaneAndPaneDividers to get the settings for the CDockingManager class. The problem: when using setting files created with older versions of our application then the data string for DockingPaneAndPaneDividers is too short and the program crashes during start-up.
Question: Is it possible to determine the necessary size of the data string for the DockingPaneAndPaneDividers settings?
Regards,
mmrohs
Continue reading...
our company uses MS Visual C++ and MFC to develop a desktop application. All the frame settings are stored in files and transfered to MFC by overwriting the method CSettingsStore::Read(LPCTSTR lpszValueName, BYTE** ppData, UINT* pcbData).
MFC calls this method with the lpsuValueName DockingPaneAndPaneDividers to get the settings for the CDockingManager class. The problem: when using setting files created with older versions of our application then the data string for DockingPaneAndPaneDividers is too short and the program crashes during start-up.
Question: Is it possible to determine the necessary size of the data string for the DockingPaneAndPaneDividers settings?
Regards,
mmrohs
Continue reading...