I'm trying to create a daemon for Mac OS X.
Apple documentation says "If you need to provide user-specific
services, you should create an agent application instead of a daemon"
(http://developer.apple.com/documentation/MacOSX/Conceptual/BPSystemStartup/Artic
les/DesigningDaemons.html)
Since my daemon is user-specific and will need some minimal interaction
from the user, an Agent Application will be suitable for my purposes.
However, I found no documentation or code samples on
developer.apple.com on how to create such "Agent application".
Searching this forum and the web did not help either.
Where can i find sample code or instruction on creating an Agent
Application?
Michael Ash - 27 Jul 2005 11:40 GMT
> I'm trying to create a daemon for Mac OS X.
>
[quoted text clipped - 11 lines]
> Where can i find sample code or instruction on creating an Agent
> Application?
As far as I can tell, this is just a regular GUI app (Carbon or Cocoa)
without an actual GUI, and with LSUIElement or LSBackgroundOnly set in
their plists.
shai@waves.com - 31 Jul 2005 10:03 GMT
Thanks Michael, I'll give it a try.
Shai