• 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: ResoveALias fails when Apple Talk in Inactive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: ResoveALias fails when Apple Talk in Inactive


  • Subject: Re: ResoveALias fails when Apple Talk in Inactive
  • From: "Philip D. Wasson" <email@hidden>
  • Date: Thu, 18 Dec 2003 13:44:34 -0500

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.

References: 
 >ResoveALias fails when Apple Talk in Inactive (From: Mahesh Vyas <email@hidden>)

  • Prev by Date: source for OS X Server ftpd?
  • Next by Date: RE: ResoveALias fails when Apple Talk in Inactive
  • Previous by thread: ResoveALias fails when Apple Talk in Inactive
  • Next by thread: RE: ResoveALias fails when Apple Talk in Inactive
  • Index(es):
    • Date
    • Thread