• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Distributed Objects - Am I missing something?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Distributed Objects - Am I missing something?


  • Subject: Re: Distributed Objects - Am I missing something?
  • From: Brian Webster <email@hidden>
  • Date: Wed, 24 Oct 2001 20:34:46 -0500

Don't know right off the bat what might be wrong, but I have one idea. How/when exactly is your server object being created? Is this an NSApplication-based app? The reason I ask is that in order for NSConnection to work properly, there needs to be an NSRunLoop going so that it can handle the messages passed to the connection's ports. If you don't use NSApplication, then you need to start the run loop yourself. If you are using NSApplication, then you might want to register your object in the -applicationDidFinishLaunching: delegate method instead of -init, just to make sure that the app's run loop is up and running before you register.

--
Brian Webster
email@hidden
http://homepage.mac.com/bwebster


  • Prev by Date: Re: Wrapping conventional .a libraries in a framework...
  • Next by Date: Re: Wrapping conventional .a libraries in a framework...
  • Previous by thread: Distributed Objects - Am I missing something?
  • Next by thread: Class(es) for reading dBASE IV?
  • Index(es):
    • Date
    • Thread