C++ dlopen mini HOWTO

C++ dlopen mini HOWTO

Aaron Isotton

2006-03-16

Revision History
Revision 1.102006-03-16AI
Changed the license from the GFDL to the GPL. Fixed usage of dlerror; thanks to Carmelo Piccione. Using a virtual destructor in the example; thanks to Joerg Knobloch. Added Source Code section. Minor fixes.
Revision 1.032003-08-12AI
Added reference to the GLib Dynamic Module Loader. Thanks to G. V. Sriraam for the pointer.
Revision 1.022002-12-08AI
Added FAQ. Minor changes
Revision 1.012002-06-30AI
Updated virtual destructor explanation. Minor changes.
Revision 1.002002-06-19AI
Moved copyright and license section to the beginning. Added terms section. Minor changes.
Revision 0.972002-06-19JYG
Entered minor grammar and sentence level changes.
Revision 0.962002-06-12AI
Added bibliography. Corrected explanation of extern functions and variables.
Revision 0.952002-06-11AI
Minor improvements.

Abstract

How to dynamically load C++ functions and classes using the dlopen API.