home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / comp / sys / amiga / programm / 18059 < prev    next >
Encoding:
Internet Message Format  |  1993-01-02  |  959 b 

  1. Path: sparky!uunet!spool.mu.edu!umn.edu!csus.edu!netcom.com!netcomsv!terapin!robertm
  2. From: robertm@terapin.com (Robert Michaels)
  3. Newsgroups: comp.sys.amiga.programmer
  4. Subject: CreateNewProc NP_Arguments
  5. Message-ID: <robertm.3241@terapin.com>
  6. Date: 2 Jan 93 17:38:25 PST
  7. Organization: BBS
  8. Lines: 9
  9.  
  10. Has anyone ever used the NP_Arguments tag using CreateNewProc or
  11. CreateNewProcTags.  The Bantam dos manual makes reference to needing to put the
  12. length of the argument string in one register and the pointer to it in another.
  13.  This makes no sense as the registers would hold info based on the
  14. CreateNewProc call and not on the specific tags you did or did not happen to
  15. specify--these are on the stack.  At any rate, I'm programming in C and just
  16. can not understand what they're getting at, wouldn't it be more logical to
  17. specify the CLI arguments when creating a new process as follows:
  18.        NP_Arguments, "these are the arguments to be passed", TAG_DONE....
  19.