Re: CFNotificationCenter from a startup item
site_archiver@lists.apple.com Delivered-To: darwin-dev@lists.apple.com On Dec 8, 2004, at 5:01 PM, Pete Gontier wrote: _______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-dev mailing list (Darwin-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-dev/site_archiver%40lists.appl... I've got some programs which use CFNotificationCenter to communicate. One of them is an CoreServices-style app. When I launch this app from the terminal or from a debugger, it can send and receive distributed notifications. However, when the app is launched as a startup item, it doesn't successfully send or receive distributed notifications. I enabled the debug version of CoreFoundation and enabled notification logging, and when I launch the app from a terminal, the log says "checking_client" and "posting_note_to" for my client, but when the app is launched as a startup item, the log says only "skipping_client" for my client. Ouch! I grepped the Darwin sources for "skipping_client" to no avail. Double ouch! What's the damage here? There's a new API or option in Panther to allow this. Check CFNotificationSomething.h. It's the API or option which allows to cross sessions. This email sent to site_archiver@lists.apple.com
participants (1)
-
Stéphane Sudre