Professional UI Solutions
Site Map   /  Register
 
 

Forum

Please Log In to post a new message or reply to an existing one. If you are not registered, please register.

NOTE: Some forums may be read-only if you are not currently subscribed to our technical support services.

Forums » Prof-UIS Tech Support » version update serialization Collapse All
Subject Author Date
Stephan Finkler Jun 27, 2005 - 8:00 AM

Hi,

at the moment we have to delete the file with the serialized
data if we get a newer version of ProfUIS.

This is a little bit anoying for the users because they loose there
settings.

Is there an workaround to keep the settings of the user?

I use following function calls to serialize ProfUIS states:

- CExtCustomizeSite::CustomizeStateSerialize(..)

- CExtControlBar::ProfileBarStateSerialize(..)

- CExtCmdProfile::SerializeState(..)


Thanks for any help.

Technical Support Jun 29, 2005 - 2:42 AM

Currently Prof-UIS supports only binary serialization for all its subsystems. Of course, serialized data are version dependent and include a variable number of fields, MFC run-time class information and etc. Customization and dockable control bar subsystems operate with tree-like data, which are complex enough, and that is why we implemented serialization by using binary streams. To make serialization version independent, we need to switch to a text-based state format like XML. We will consider your question as a feature request.