Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Distributed Object validity



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:
http://lists.apple.com/mailman/options/cocoa-dev/email@hidden

This email sent to email@hidden


Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.