From: mfdylan (dylan_at_[hidden])
Date: 2001-12-13 19:28:02


For anyone interested I added shared_object.zip to files which is
basically a very thin class wrapper for shared object usage, with
support for Win32 (LoadLibrary etc) and POSIX (dlopen etc).
Obviously I can't do anything to make it truly typesafe as such, but
at least it prevents the need for ugly casts in your code.
dlopen/GetProcAddress assumes sizeof(void*) == sizeof(object_type*)
so obviously you may not be able to use it with certain pointers to
members (not recommended anyway!).

Dylan