|
-
March 11th, 2008, 06:16 AM
#1
calling application class method from plugin
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
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|