Distributed Object validity
Distributed Object validity
- Subject: Distributed Object validity
- From: Jacob Bandes-Storch <email@hidden>
- Date: Tue, 15 Jan 2008 06:55:24 -0800
I asked this question once, but didn't get an answer... hopefully
someone can help out this time.
I have a preference pane (I'm inclined to call it a preference pain at
this point) and a helper application. I'm using distributed objects to
communicate between them: <http://developer.apple.com/documentation/UserExperience/Conceptual/PreferencePanes/Tasks/Communication.html#//apple_ref/doc/uid/20000708
>
I need a way (in both the pref pane and the application) to see if the
other one is still running. if (sharedobj) { ... seems not to work
correctly, it sometimes executes even if the app/prefpane is closed.
I'm also seeing "connection went invalid while waiting for a reply" in
the Console, but I can't figure out exactly when it shows up.
Does anyone have any idea how to make this work? I appreciate the help.
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden