
16 Apr
2004
16 Apr
'04
10:57 p.m.
Vladimir Prus wrote:
There's BOOST_CLASS_EXPORT. Take a look at http://www.rrsd.com/boost/libs/serialization/doc/traits.html#export
Thanks for the link. However, the current BOOST_CLASS_EXPORT mechanism will not work with DLLs. That's because global/static variable (the extended_type_info_typeid instance) is not shared by DLLs. I guess we may have to make the serialization library a dll and export the extended_type_info_typeid instance as a global variable. Regards, Lirong