home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / sys / mac / programm / 14888 < prev    next >
Encoding:
Text File  |  1992-09-02  |  1.3 KB  |  35 lines

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