[Serialization] assert fail and unregistered class
Hi
I get assert fail and "unregistered class - derived class not
registered or exported" when serializing.
I have many classes being saved already in the code but i ran to a
problem saving certain std::list with derived classes. (I also have
similar classes and list being serialized before)
i think its the same issue as in here:
http://boost.2283326.n4.nabble.com/serialization-polymorphic-archives-runtim...
i have boost version 1.46.1
and visual studio express 2010
heres the call stack:
msvcr100d.dll!_wassert(const wchar_t * expr, const wchar_t *
filename, unsigned int lineno) Line 325 C
gamevc10dbg.exe!boost::archive::detail::basic_serializer_map::find(const
boost::serialization::extended_type_info & eti) Line 102 + 0x16
bytes C++
gamevc10dbg.exe!boost::archive::detail::archive_serializer_mapboost::archive::binary_oarchive::find(const
boost::serialization::extended_type_info & eti) Line 67 C++
gamevc10dbg.exe!boost::archive::detail::save_pointer_typeboost::archive::binary_oarchive::polymorphic::save<BasePlayer>(boost::archive::binary_oarchive
& ar, BasePlayer & t) Line 435 + 0xe bytes C++
gamevc10dbg.exe!boost::archive::detail::save_pointer_typeboost::archive::binary_oarchive::save<BasePlayer>(boost::archive::binary_oarchive
& ar, const BasePlayer & t) Line 460 + 0xd bytes C++
gamevc10dbg.exe!boost::archive::detail::save_pointer_typeboost::archive::binary_oarchive::invoke ::save_override does any one know whats wrong?
I have no idea how to solve this, i have tried everything!
i should have all BOOST_CLASS_EXPORT_GUID in place.
thx
participants (1)
-
Jari