Boost logo

Boost Users :

From: sadrok (sadrok.za_at_[hidden])
Date: 2007-01-07 16:39:43


On 1/7/07, Robert Ramey <ramey_at_[hidden]> wrote:
> Robert wrote:
>
> skip "export" and just use "register" to register your derived types.
>

I've done that now for LogMessage only (as a special case),
registering only if I know its a LogMessage from its 'type' member.
Other derived classes are exported using the macro.

Thanks for the help.

> sadrok wrote:
>
> > I believe I have found the source of my problem. My program is
> > basically dynamically loading another module and forking a process to
> > run that module in. Both the parent module and the client module had
> > the LogMessage class exported by boost. Since the client inherited the
> > memory space of the parent this caused the troubles. Now I will just
> > figure out an elegant way to make sure that the LogMessage gets
> > exported only once.
>
>
>
> _______________________________________________
> Boost-users mailing list
> Boost-users_at_[hidden]
> http://lists.boost.org/mailman/listinfo.cgi/boost-users
>

-- 
sadrok_at_[hidden]
Yahoo! IM: sadrok_za
Jabber ID: sadrok_at_[hidden]

Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net