home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / sys / amiga / programm / 11506 < prev    next >
Encoding:
Internet Message Format  |  1992-07-22  |  768 b 

  1. Path: sparky!uunet!olivea!hal.com!darkstar.UCSC.EDU!cats.ucsc.edu!torp
  2. From: torp@cats.ucsc.edu (Judith Lynn Nakamura)
  3. Newsgroups: comp.sys.amiga.programmer
  4. Subject: Passing arguments to a process
  5. Message-ID: <14kpbcINNfkn@darkstar.UCSC.EDU>
  6. Date: 22 Jul 92 23:01:00 GMT
  7. Distribution: usa
  8. Organization: University of California; Santa Cruz
  9. Lines: 18
  10. NNTP-Posting-Host: am.ucsc.edu
  11.  
  12.  
  13. Using CreateNewProc(), how do I pass an argument (pointer or string)
  14. to the new process?  I have tried
  15.  
  16. strunct TagItem new_process_tags[] = {
  17.     NP_Entry,    entry_point,
  18.     NP_Arguments,    "argument"
  19.     TAG_DONE
  20. };
  21.  
  22. but the function entry_point() does not recieve the string "argument".
  23.  
  24. What am I doing wrong?
  25.  
  26. Oh, BTW, why doesn't the 2.0 Libraries RKM discuss the dos.library?
  27.  
  28. Thanks,
  29. Judy
  30.