>>> Is it possible to use C++ to write LADSPA plugins? Especially since >>> the host might only have a C runtime? >> in general, no its not possible. the (implicit) rule is that the host >> will only load the shared object containing the plugin(s), so if they >> require any other symbols to be linked, they will not work. C++ >> plugins that use any STL features, RTTI or other C++ runtime library >> stuff will simply fail to load in non-C++ hosts. > >Actually if linked properly, dlopen() will open plugins written in C++ >just fine.
thats true. i take that back. alsa, "properly linked" means either learning quite a lot about the linker or using libtool, neither one of which i relish :) --p
