Hello,

I'm having a problem with my plugin platform. I have a main application class, that handles plugin loading and GUI, which is linked into executable. When creating a plugin, I pass a pointer to this class through defined plugin interface. The problem is, that when the plugin is loaded and I call any method of the main class from it, I get unresolved symbol error. I thought that dynamic linking takes care of that, but it doesnt seem to. Do I have to specify some linkage information on every class of the main app? Is there a cross-platform solution to this ( i need to work in win, linux and mac os x)?

Thank you very much

Dalibor