Path: utzoo!mnetor!uunet!nuchat!sugar!peter From: peter@sugar.UUCP (Peter da Silva) Newsgroups: comp.sys.amiga Subject: Re: WBarg problems Message-ID: <1284@sugar.UUCP> Date: 19 Dec 87 15:50:21 GMT References: <1084@raybed2.UUCP> Organization: Sugar Land UNIX - Houston, TX Lines: 13 Keywords: workbench arguments xicon Iconexec Summary: Here's what you do. You have to put the tool's own name in sm_ArgList[0]. I discovered this through trial and error when I was playing around with writing a high-zoot disk utility. I quit it because it was beginning to founder under the weight of its code... started a rewrite and then accidentally reused the disk I was working on the new version on. When I recover from this loss I may get back to it. Sometimes it just doesn't pay to copy Fish Disks. [a moment of silence] Anyway, sm_SargList[0] has to contain the tool's own lock and name. -- -- Peter da Silva `-_-' ...!hoptoad!academ!uhnix1!sugar!peter -- Disclaimer: These U aren't mere opinions... these are *values*.