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 » "Cannot call WriteClass/WriteObject for" custom PaintManager Collapse All
Subject Author Date
Suhai Gyorgy Jan 12, 2007 - 8:15 AM

We are using a custom paintmanager derived from CExtPaintManagerStudio2005. It is almost the same as your CColorizedThemeOffice2003 in ThemeColorizer sample.
I get the warning "Cannot call WriteClass/WriteObject for ..." in the VS Output window. I traced it down, it gets called somewhere inside InstallPaintManager. I checked, same happens in your ThemeColorizer sample as well.
I’m guessing it is connected to your new PaintManagerStateSerialize feature. Am I right? How could I fix it?
It’s really no big mistake, users won’t notice anything, I just would like to clear it up.

Thank you.

Technical Support Jan 12, 2007 - 12:35 PM

Are you using the DECLARE_SERIAL and IMPLEMENT_SERIAL macro in your class? This may be the cause of the problem.