[comp.sys.mac.programmer] Need to mount AppleShare volumes through software

cro@cs.arizona.edu (Charles R. Oldham) (02/12/91)

I wonder if anyone can help me with this.

I'm writing a program that needs to dismount and mount AppleShare servers
through software.  I've studied Inside Appletalk and Inside Mac vol V,
but I haven't been able to get anywhere.  Every time I try to go
through the login sequence, AFPCommand returns either -1070
(aspParamErr) or -5019 (afpParmErr).  There must be something wrong
with the way I'm building the Param Block--but nowhere in any of the
documentation does it say *exactly* what the Command Block is supposed to
look like.

	Anyone have routines to do this?

*-----------------------------------------------------------------------------*
*Charles R. (C. R.) Oldham                    | Bitnet: OLDHAM@ARIZRVAX       *
*Department of Instructional Computing        | Internet:                     *
*Ctr. for Computing Information and Technology| (Preferred)                   *
*University of Arizona                        |   cro@caslon.cs.arizona.edu   *
*Tucson, Arizona                              |or oldham@rvax.ccit.arizona.edu*
*USA                                          |                               *
*(602) 621-9480                               | IXOYE                         *
*-----------------------------------------------------------------------------*
*  #include <disclaimer.yuk>                                                  *
*-----------------------------------------------------------------------------*