• 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: Static variables reset inside CFPlugin code
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Static variables reset inside CFPlugin code


  • Subject: Re: Static variables reset inside CFPlugin code
  • From: Jens Alfke <email@hidden>
  • Date: Sun, 01 Jan 2012 18:49:45 -0800

On Jan 1, 2012, at 2:21 PM, Grandinetti Philip wrote:

> Your suggestions make sense, although...
> option (a) doesn't work for me, since the static variables are being used before the plugin is loaded.

They're not options, they're steps. You need to do all of them.

If you can't put the variable in the plugin, I _think_ you can put it in the app, then export it from the app and link the plugin against the app. Apps don't normally export symbols, but I think you can set this up.

Maybe you could explain what the plugin does and why it and the app need to share a variable?

—Jens

Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________

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

  • Follow-Ups:
    • Re: Static variables reset inside CFPlugin code
      • From: Grandinetti Philip <email@hidden>
References: 
 >Re: Static variables reset inside CFPlugin code (From: Jens Alfke <email@hidden>)
 >Re: Static variables reset inside CFPlugin code (From: Grandinetti Philip <email@hidden>)

  • Prev by Date: Re: Static variables reset inside CFPlugin code
  • Next by Date: Setting ApplePressAndHoldEnabled key for specific application.
  • Previous by thread: Re: Static variables reset inside CFPlugin code
  • Next by thread: Re: Static variables reset inside CFPlugin code
  • Index(es):
    • Date
    • Thread