May 9th, 1999, 03:31 PM
How can I serialize the collection CTypedPtrMap<CMapStringToOb, CString, CMyOb*>
I have written the serialize code in MyObject,used IMPLEMENT_SERIAL, etc, and then put m_MapStringToOb.Serialize(ar) in the doc serialize section. When I try to save, it gives me an access violation, saying that I have no Runtime Class (as this needs to be written into the archive before any data is stored). Can anybody help.
I have written the serialize code in MyObject,used IMPLEMENT_SERIAL, etc, and then put m_MapStringToOb.Serialize(ar) in the doc serialize section. When I try to save, it gives me an access violation, saying that I have no Runtime Class (as this needs to be written into the archive before any data is stored). Can anybody help.