home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.sys.mac.programmer
- Path: sparky!uunet!gatech!concert!sas!mozart.unx.sas.com!studly.mac.sas.com!Michael_Hecht
- From: Michael Hecht <Michael_Hecht@mac.sas.com>
- Subject: Re: TN 306 GetIconSuite glue fatal error
- Sender: news@unx.sas.com
- Message-ID: <BtyGJ1.HJ4@unx.sas.com>
- X-Useragent: Nuntius v1.1.1d9
- Date: Wed, 2 Sep 1992 14:35:25 GMT
- X-Xxdate: Wed, 2 Sep 92 15:31:16 GMT
- X-Xxmessage-Id: <A6CA48747E01050A@studly.mac.sas.com>
- References: <peter-020992122411@134.7.50.3>
- Nntp-Posting-Host: studly.mac.sas.com
- Organization: SAS Institute Inc.
- Lines: 19
-
- In article <peter-020992122411@134.7.50.3> Peter N Lewis,
- peter@cujo.curtin.edu.au writes:
- >Its suppose to be a LongInt/long, not an integer/short! The same most
- >probabbly applies to ForEachIconDo's selector but I haven't checked it.
-
- The same certainly does apply to ForEachIconDo.
-
- Not only that, but the procedure definition for its action proc should be:
-
- pascal OSErr DoIcons( ResType theType, Handle *theIconData,
- long refCon );
-
- Note that the first two parameters are *reversed* in the Tech Note!
-
- --Michael
-
- =======================================================================
- Michael P. Hecht | Internet: Michael_Hecht@mac.sas.com
- SAS Institute Inc.; Cary, NC USA | AppleLink: SAS.HECHT
-