home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / sys / mac / programm / 14827 < prev    next >
Encoding:
Internet Message Format  |  1992-09-01  |  708 b 

  1. Path: sparky!uunet!ogicse!das-news.harvard.edu!husc-news.harvard.edu!husc8!ewu1
  2. From: ewu1@husc8.harvard.edu (Elwin Wu)
  3. Newsgroups: comp.sys.mac.programmer
  4. Subject: Beginner's question on StandardPutFile
  5. Message-ID: <ewu1.715348919@husc8>
  6. Date: 1 Sep 92 12:01:59 GMT
  7. Article-I.D.: husc8.ewu1.715348919
  8. Lines: 9
  9. Nntp-Posting-Host: husc8.harvard.edu
  10.  
  11. I'm having trouble getting the volume reference number returned by the
  12. StandardPutFile routine.  I want to use SetVol and my code typically
  13. looks something like this (I'm using Think C 5.0):
  14.  
  15.     StandardPutFile(prompt,defaultName,&theReply);
  16.     SetVol(theReply.sfFile.vRefNum);
  17.  
  18. Should I use something other that SetVol???  Any help would be
  19. appreciated.  Thanks
  20.