Re: CFNotificationCenter from a startup item
Re: CFNotificationCenter from a startup item
- Subject: Re: CFNotificationCenter from a startup item
- From: Stéphane Sudre <email@hidden>
- Date: Wed, 8 Dec 2004 18:06:35 -0800
On Dec 8, 2004, at 5:01 PM, Pete Gontier wrote:
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.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden