Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Putting Carbon code into daemons



Odd. I have a daemon which currently links against Carbon but still works.

I read the docs and apparently none of Quartz is allowed in daemons.

Is there some other form of BOA that is framework-friendly (I can't use an Agent because my BOA has to work across all users and even when no user is logged in). I really need to use quite a bit of Quartz in my BOA. I would think Apple would have provided a way to do that.

Mike

stephen joseph butler wrote:
2007/1/11, Mike <email@hidden>:
Are there any restrictions on putting Carbon code into OS X daemons?

I have a small existing Cocoa daemon written for 10.4. which is working
and now I want to move some code - namely some run loop code from a
Carbon app project into my Cocoa daemon project.

Is this a) safe to do and b) are there any gotcha's?
As long as you watch which frameworks you're linking to, I don't think
it is a problem. Here's a list of frameworks and whether they're safe
to use in daemons or not:

<http://developer.apple.com/technotes/tn2005/tn2083.html#SECFRAMEWORKCROSSREFERENCE>




_______________________________________________ Do not post admin requests to the list. They will be ignored. Carbon-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/carbon-dev/email@hidden

This email sent to email@hidden
References: 
 >Putting Carbon code into daemons (From: Mike <email@hidden>)
 >Re: Putting Carbon code into daemons (From: "stephen joseph butler" <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.