Re: try statement
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.