Re: Static variables reset inside CFPlugin code
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