Boost logo

Boost :

From: Li Lirong (lirong_at_[hidden])
Date: 2004-04-16 17:57:22


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


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk