• 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: try statement
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: try statement


  • Subject: Re: try statement
  • From: Lorenzo <email@hidden>
  • Date: Tue, 20 May 2003 16:21:00 +0200

HI Chris,
thank for your usual reply.


I am compiling a .m file.
The problem is that I am using a Carbon API in order to mount a remote
volume. But if the remote connection is OFF or the Ethernet cable is
unplugged, my application freezes. So I am trying to catch the error.
I guess that first I should check for the connection, but I don't know how.
The API is:

osStatus = FSMountServerVolumeSync(sourceURL, NULL,
(CFStringRef)theUserName, (CFStringRef)thePassword, vRefNum, 0);


Best Regards
--
Lorenzo
email: email@hidden
_______________________________________________
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.

  • Prev by Date: Re: Stripping headers from embedded frameworks
  • Next by Date: Re: BOOLs, definition of YES
  • Previous by thread: Re: try statement
  • Next by thread: NSTextView and NSMutableArray
  • Index(es):
    • Date
    • Thread