I have rather simple project considering its not DLL or Lib where I
need those exports. And I honestly dont know what the manual is saying
about BOOST_CLASS_EXPORT as I have applied it to my project according
to my best ability, and it doesnt work.
So can you help and give instruction how to use the macro?
I have included BOOST_CLASS_EXPORT(SomeClass) after every #include
"SomeClass.h" but something is wrong.
I dont know what to try.
I followed the manual to my best ability.
thanks.
On Thu, Aug 11, 2011 at 7:51 AM, Robert Ramey
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
_______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users