Re: Loading multiple classes from dynamic linked libraries
- From: "Bin Chen" <binary.chen@xxxxxxxxx>
- Date: 21 Feb 2007 16:40:11 -0800
On 2月22日, 上午12时22分, Emmanuel Fleury <emmanuel..fle...@xxxxxxxx> wrote:
Roberto Hawkowski wrote:dlopen can easily handle the C data structure and the O.P is getting
Hello,
Can some one point me the right direction how to create DLLs in C++ so
that I can load/unload multiple classes from them at runtime?
Can you advise me an open source, cross platform [Linux and Windows
and (ideailly on Solaris and QNX as well)] wrapper code to create and
handle (load/unload etc) DLLs?
I think you are looking for libdl or libtdl:http://www.yolinux.com/TUTORIALS/LibraryArchives-StaticAndDynamic.html
Look also for "man dlopen".
to know how to instantiate a class from DLL, which I think is much
more difficult.
Regards
--
Emmanuel Fleury | Room: 261
Associate Professor, | Phone: +33 (0)5 40 00 69 34
LaBRI, Domaine Universitaire | Fax: +33 (0)5 40 00 66 69
351, Cours de la Libération | Email: emmanuel.fle...@xxxxxxxx
33405 Talence Cedex, France | URL: http://www.labri.fr/~fleury
.
- References:
- Loading multiple classes from dynamic linked libraries
- From: Roberto Hawkowski
- Re: Loading multiple classes from dynamic linked libraries
- From: Emmanuel Fleury
- Loading multiple classes from dynamic linked libraries
- Prev by Date: Re: Little/big endians and sockets
- Next by Date: Re: Replacing a debian package with a dummy
- Previous by thread: Re: Loading multiple classes from dynamic linked libraries
- Next by thread: Creating shared std containers
- Index(es):
Relevant Pages
|