Re: Plugins and shared code question.,
Re: Plugins and shared code question.,
- Subject: Re: Plugins and shared code question.,
- From: Dave Camp <email@hidden>
- Date: Mon, 25 Jun 2007 11:11:56 -0700
On Jun 24, 2007, at 10:39 PM, Scott Andrew wrote:
I have 2 iPhoto plugins that share some very common code that lives
in a couple of static libraries. However i am seeing some weird
behavior where if both plug-in's are installed their code doesn't
work. I get some weird behavior where code is stepped on in one
plug-in by the other. Has anyone seen this? Does this happen
because the code is both living in the same address space and they
have the same class names? Can i not share common code between
them? I don't think a framework would solve the problem since the
code would still be loaded into the same address space. Any
suggestions?
Your plug-ins are probably exporting all of their C/C++ functions by
default. Turn off exports or add an export file that limits what you
are exporting and all should be well.
Dave
---
There's an old proverb that says just about whatever you want it to.
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden