DO & StartupItems
DO & StartupItems
- Subject: DO & StartupItems
- From: Lloyd Dupont <email@hidden>
- Date: Thu, 5 Jun 2003 15:53:18 +1000
I created a StartupItem accessible through DO.
It start successfully, but when I try to access it from an ordinary
account I can't see it in DO ...
in fact even the root account can't see it.
although, when I try the "SystemStarter restart myService", it work
perfectly, meaning that, at last my program runnned by SystemStarter is
able to see itself through DO.
I register with code like that
NSConnection * conn = [NSConnection defaultConnection];
[conn setRootObject: self];
BOOL reg = [conn registerName: name];
And I lookup with code like that:
NSConnection * conn = [NSConnection
connectionWithRegisteredName:aName
host:nil];
return (Server *) [conn rootProxy];
what is it that happen ?
any tip ?
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.