With C++ you will have a problem with the so-called 'name-mangling'. In C-classes, you can have multiple methods with the same name. This technique is called 'overloading'. However, the resulting binary must have unique addresses to jump to, and therefore the C++ compiler will create unique names during compiletime for these duplicate methods. These names can be different each time you recompile.
Therefore, the 'dlopen' function to import C functions from a Shared Object or DLL cannot be used when these objects are created with C++.
There is an interesting HOWTO which explains it all:
http://www.isotton.com/howtos/C++-dlope ... HOWTO.html
As you can see, the sourcecode of C++ programs must be adjusted to get things working.
For the GTK-server I also get many requests to port the thing to Qt or FLTK, but as these toolkits are written in C++, I never can reach them, unless I start changing the sourcecode of these toolkits :-(
Peter