RE: ResoveALias fails when Apple Talk in Inactive
RE: ResoveALias fails when Apple Talk in Inactive
- Subject: RE: ResoveALias fails when Apple Talk in Inactive
- From: Mahesh Vyas <email@hidden>
- Date: Fri, 19 Dec 2003 00:15:54 +0530
Thanx
we will try for the same
-----Original Message-----
From: Philip D. Wasson [
mailto:email@hidden]
Sent: Friday, December 19, 2003 12:15 AM
To: Mahesh Vyas
Cc: email@hidden
Subject: Re: ResoveALias fails when Apple Talk in Inactive
One alternative is to not use Aliases. Get the mount information about
a mounted volume by calling PBGetVolMountInfo (preceded by
PBGetVolMountInfoSize to find out how big the returned structure will
be). Save the structure instead of the Alias record. When you want to
mount the volume, call PBVolumeMount, passing it the info you saved.
However, if a password is required, you will have to prompt the user
for that and stuff it into the info structure before calling
PBVolumeMount.
You might also want to look into FSMountServerVolumeSync and
FSMountServerVolumeAsync which are available on Mac OS 10.2 or later.
On Saturday, Dec 13, 2003, at 01:05 US/Eastern, Mahesh Vyas wrote:
>
We programmatically mount the remote volume by calling ResolveAlias(),
>
API
>
works only when Apple talk is active.
>
After disabling Apple Talk , this API fails. What is alternative.
_______________________________________________
macnetworkprog mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/macnetworkprog
Do not post admin requests to the list. They will be ignored.