Hello,
I am going to be implementing a plug-in system for a C++ application that needs to run on Linux, HP-UX, and Windows. I see that libltdl will load shared libraries for each of these platforms, but I have a few questions.
1) There is the warning about using C++ because of the various name mangling issues. I think I would be fine as long as the libraries are from the same compiler, right? Or do I have to extern "C" the functions I would use?
2) Also, it talks about needing to use libtool on the modules, is that required in general or just for when you want to reopen the shared lib?
3) How do I build the library on Windows assuming this is a feasible solution, and are there any special things I have to do to my DLL's?
Thanks for your time,
Tom Matelich