المساعد الشخصي الرقمي

مشاهدة النسخة كاملة : How to cancel during serialization on CDocument



C++ Programming
04-13-2009, 07:42 PM
I have written CDocument derived class's Serialize method to check the version on the archive and throw an exception if it doesn't match. After throwing the exception, the Window title still shows the file name that had an error.

How do I cancel serialization completely and go back to the previous file that was open?

Thank you masters!