Hi Art, I need to make these lib (dll/so) for linux and window at least, so I need common behavior. I'm thinking a mix of the inheriting class and the osg plugin registry behavior with the template static register method ... (note so understandable I think) that is to say, may be a mix of all these way can bring me to a good solution ..
Still here if you have suggestion or ideas Thanks every one, still good to have quality help here :-) Regards, Vincent. 2009/5/15 Art Tevs <arti_t...@yahoo.de> > Hi Vincent, > > > > Vincent.B wrote: > > Hi all, > > If you need to load dynamically some DLL (as osg plugins) but theses DLL > have no similar I/O (so make each one inherit from a base class have no > sense), how will you do ? > > > > I'm thinking in the calssical loadLibrary and getProcAdress for each one, > ... but if you know or think in an other solution, I would be very > interested to hear it. > > > > > In windows world each dll can have an entry point. This is a C function, > which will be called on dll loading. In unix world, I am not sure if there > exists default entry point routines, I think yes, but I am not sure. > > cheers, > art > > ------------------ > Read this topic online here: > http://forum.openscenegraph.org/viewtopic.php?p=12249#12249 > > > > > > _______________________________________________ > osg-users mailing list > osg-users@lists.openscenegraph.org > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org >
_______________________________________________ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org