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 General Discussion » Serialization in XML Collapse All
Subject Author Date
Sergio Buonanno Dec 12, 2006 - 6:25 AM

I use CExtCmdManager::SerializeState to save application’s state on a binary file (unfortunately Prof-UIS doesn’t support XML serializations yet and state serialization on Registry is an obsolete feature), but every time I update Prof-UIS version I must delete the state file in order to run the application, because new versions of Prof-UIS aren’t able to read the file saved by older versions (no backward compatibly). Is there anything I can do to avoid that ?

I know this isn’t the first time I requested it, but I consider the possibility to save application’s state on XML files a key feature and Prof-UIS still doesn’t support it in spite of your statement that this should have been one of you main priorities since last summer. Any news on this subject ? Thanks.

Technical Support Dec 13, 2006 - 9:10 AM

The delay with implementing XML-based serialization was caused by features with more priority like Windows Vista compatibility and the Ribbon Bar. This feature is still at the top of our list and will implement it in one of the next releases.

There is a new feature we have just added that allows you to workaround this without having to use XML. It is based on a fact that serialized data format changes seldom. Because of that, we made some changes to Prof-UIS so that your serialization code can read data regardless of the version. Please contact us for the update via e-mail.