loadble module

Xavier Bestel xavier.bestel@free.fr
Wed, 14 Jan 2004 09:43:49 +0100


Le mer 14/01/2004 =E0 06:11, Keith Packard a =E9crit :
> Around 23 o'clock on Jan 13, Sean Middleditch wrote:
>=20
> > Systems where you know dlopen() works as you need, just use it directly=
,
> > and on other systems use libltdl.
>=20
> heh.  we should see if libltdl is usable first...  If not, I'd just code =
up=20
> the dlopen solution and let poor users without it deal with the problems=20
> by submitting patches.  But then, I'm lazy, myself.

If adding GLib dependency isn't considered evil, there's also GModule
which is a rather nice portable loadable modules implementation.

See: http://developer.gnome.org/doc/API/2.0/glib/glib-Dynamic-Loading-of-Mo=
dules.html

	Xav