Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion Groups
General
GeneralPortable MacsHardwareNetworking
Applications
Mac ApplicationsEudoraFirefox / MozillaInternet ExplorerOutlook ExpressMS OfficeEntourageExcelPowerPointWordVirtual PCMedia PlayerOther MS Products
Programming
Mac ProgrammingCodeWarriorPerl
Country Specific
Australian Mac GroupUK Mac Group

Mac Forum / Programming / Mac Programming / July 2005



Tip: Looking for answers? Try searching our database.

How to create an "Agent Application"?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
shai@waves.com - 27 Jul 2005 11:03 GMT
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
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.