Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!usc!samsung!spool.mu.edu!news.cs.indiana.edu!arizona.edu!arizona!cro From: cro@cs.arizona.edu (Charles R. Oldham) Newsgroups: comp.sys.mac.programmer Subject: Need to mount AppleShare volumes through software Keywords: appleshare mounting server volumes Message-ID: <837@caslon.cs.arizona.edu> Date: 11 Feb 91 22:39:19 GMT Organization: U of Arizona CS Dept, Tucson Lines: 24 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 * *-----------------------------------------------------------------------------*