
Hello, Robert! You wrote on Fri, 3 Dec 2004 08:25:02 -0800: RR> Hmmm - I've considered that in the past in order to implement a RR> "memento archive" that could be used for do/undo functionality. This RR> wouldn't be too hard as it would be an derivation from any existing RR> archive which specializes the archive save/load member templates for RR> pointers. Thanks, I'll try to do it. RR> In considering this, a couple of quesions come to mind like: RR> a) for collections, what if members are added/deleted between the save RR> and load. In my case, it is impossible. I'm writing custom RPC and has difficulties with returning function arguments by reference or pointer. RR> b) This would basically replace the deep class assignment capability RR> which is often already built-in. Its not clear that using the RR> serialization is any better. Yes, I need exactly such a replacement. RR> Robert Ramey RR> "Sergey Skorniakov" <s.skorniakov@megaputer.ru> wrote in message RR> news:copc31$q23$1@sea.gmane.org... ??>> Hello, All! ??>> ??>> Are there any way to load existing objects by base class pointer ??>> without creating new? Examination of input archives source code does ??>> not give me any idea how I can achieve it. I think I need some ??>> mechanism for runtime switching RR> archive ??>> object tracking behaviour in that way so all objects will interpreted ??>> as already created (or per-object tracking registration without actual ??>> object loading to pre-register pointer to object as already created ??>> before object loading). With best regards, Sergey. With best regards, Sergey.