
11 Aug
2011
11 Aug
'11
4:51 a.m.
Jari wrote:
Hi I was trying to use BOOST_CLASS_EXPORT for all my classes in order to save them but I always got unregistered class error. So I used oa.register_type<object>(); for the class that was causing the error and problem solved. But why doesnt the BOOST_CLASS_EXPORT macro work?
because you're not using it properly.
Why I need to use oa.register_type<object>(); ?
because you can't get EXPORT to work. Robert Ramey
Im using Boost 1.46.1
Thanks