• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Plugins and shared code question.,
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >Plugins and shared code question., (From: Scott Andrew <email@hidden>)

  • Prev by Date: Re: How to render 8-bit bitmap image representation?
  • Next by Date: Re: HTTP Uploading
  • Previous by thread: Plugins and shared code question.,
  • Next by thread: Re: Plugins and shared code question.,
  • Index(es):
    • Date
    • Thread