• 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: checking status of a background app in a Cocoa program
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: checking status of a background app in a Cocoa program


  • Subject: Re: checking status of a background app in a Cocoa program
  • From: Thomas Engelmeier <email@hidden>
  • Date: Mon, 24 Sep 2007 12:33:01 +0200


On 24.09.2007, at 07:58, Donald Hall wrote:

Basically, the Carbon app registers launch and terminate functions in main.c that are called at the right times. Can I just link to Carbon as well as Cocoa and do the same thing in my main function, or does the Carbon example rely in the Carbon event loop running (or on some other aspect of Carbon programs.)

UI parts of Carbon rely on it, which doesn't make it mutually exclusive.
I'd guess for your purpose you should be able to get away with CarbonCore, and that's safe to use under nearly all application types (also daemons et al).



Or is there another way to do this monitoring without continual polling (ugh)?

Mach messaging, AppleEvents, distributed objects, network sockets, pipes - just as some starting points.


Regards,
Tom_E _______________________________________________


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: 
 >checking status of a background app in a Cocoa program (From: Donald Hall <email@hidden>)

  • Prev by Date: How to maxmize a window at startup?
  • Next by Date: Core data or else?
  • Previous by thread: checking status of a background app in a Cocoa program
  • Next by thread: Re: checking status of a background app in a Cocoa program
  • Index(es):
    • Date
    • Thread