home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / sys / amiga / programmer / 951 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.1 KB

  1. Path: strauss.udel.edu!not-for-mail
  2. From: jcorig@strauss.udel.edu (John Pat Corigliano)
  3. Newsgroups: comp.sys.amiga.programmer
  4. Subject: SystemTagList()
  5. Date: 12 Jan 1996 23:32:35 -0500
  6. Organization: University of Delaware
  7. Message-ID: <4d7cl3$fs4@strauss.udel.edu>
  8. NNTP-Posting-Host: strauss.udel.edu
  9.  
  10. I am using SystemTagList() to launch other programs and having trouble
  11. determining the system path (the one set by the user).  Is this in 
  12. memory somewhere?  The Guru book says to use this, the NP_Cli flag
  13. should be set and that the PathList structure should be AllocVec()'d,
  14. but does the program free this memory?  An example would be helpful ;)
  15.  
  16. Also, I Lock() a directory for the NP_CurrentDir but I tried running
  17. the program Asynch and then UnLock()'ing the lock (before the program
  18. terminated).  This crashed the system, so I removed the UnLock() call
  19. and all worked fine.  Does the spawned process free this lock?
  20.  
  21. TIA,
  22. -- 
  23. John Corigliano                                  jcorig@strauss.udel.edu
  24. Computer and Information Science                  University of Delaware
  25. --
  26. "Never drive a car when your dead."  - Tom Waits
  27.