home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / comp / sys / amiga / programm / 13204 < prev    next >
Encoding:
Internet Message Format  |  1992-09-09  |  1.5 KB

  1. Path: sparky!uunet!munnari.oz.au!comp.vuw.ac.nz!amigans!acheron!alien
  2. From: alien@acheron.amigans.gen.nz (Ross Smith)
  3. Newsgroups: comp.sys.amiga.programmer
  4. Subject: ArgArrayInit() with DICE
  5. Message-ID: <gate.eu2TqB1w165w@amigans.gen.nz>
  6. Date: Wed, 09 Sep 92 07:59:49 GMT+1
  7. Lines: 30
  8.  
  9. ArgArrayInit() with DICE
  10. Distribution: world
  11. Message-ID: <alien.004k@acheron.amigans.gen.nz>
  12. Date: 9 Sep 92 07:53:07 GMT+12
  13. Organization: Wanganui Amigans, Wanganui, NZ
  14.  
  15. Does anybody out there know how to use the function ArgArrayInit() with
  16. Matthew Dillon's DICE compiler? The trouble is that it's supposed to take
  17. argc and argv as arguments, which you can't do with DICE programs started
  18. from the Workbench -- DICE's wbmain() function doesn't have argc/argv
  19. parameters.
  20.  
  21. I've tried simply passing zero for argc and NULL for argv, but that
  22. doesn't work -- it doesn't pick up the icon's tool types (which is what
  23. it's supposed to do for WB-started programs).
  24.  
  25. The relevant Commodore documentation is in the Libraries 2.0 RKM
  26. (page 735) and the Includes & Autodocs 2.0 RKM (page 36).
  27.  
  28. Any ideas? Please email to the address below if possible (I'd
  29. prefer a quick explanation to massive amounts of source code, I have to
  30. pay for incoming mail... :-)
  31.  
  32. Thanks in advance.
  33.  
  34. --
  35. ...... Ross Smith (Wanganui, NZ) ...... alien@acheron.amigans.gen.nz ......
  36.    "Let us leave this festering hellhole.  Let us think the unthinkable,
  37. let us do the undoable.  Let us prepare to grapple with the ineffable
  38. itself, and see if we may not eff it after all." (Dirk Gently)
  39.