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