Re: NSDistributedNotification from root process not posted
Re: NSDistributedNotification from root process not posted
- Subject: Re: NSDistributedNotification from root process not posted
- From: Rosyna <email@hidden>
- Date: Thu, 11 May 2006 03:16:54 -0700
You might try looking at CFNotificationCenter's
CFNotificationCenterGetDarwinNotifyCenter().
Note that NSNotificationCenter and CFNotificationCenterRef are not
toll free bridged. And with this particular API, userInfo and object
must always be NULL and ignored (according to the header).
Ack, at 5/11/06, P Smith said:
I have a root process launched at startup which posts notification through
NSDistributedNotificationCenter. A user process, launched after login, which
has registered for this notification does not receive it.
Note: When the same process is launched as user process, the observer
receives the notification.
Has anyone come across such a situation? Is it a known issue? If
the notification from root to user process does not work, what is the best
way to implement it?
--
Sincerely,
Rosyna Keller
Technical Support/Holy Knight/Always needs a hug
Unsanity: Unsane Tools for Insanely Great People
It's either this, or imagining Phil Schiller in a thong.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden