Version: 1.0

Posted: 2003-01-30

Build Requirements: N/A

Runtime Requirements: Carbon

View Source Code:

Download Sample (“IconUtilCheck.zip”, 28.3K)
Download Sample (“IconUtilCheck.dmg”, 91.9K)



Description

According to the Tech Note OV - 16, "Inside Macintosh: More Macintosh Toolbox, page 5-7, specifies that the gestaltIconUtilitiesAttr - 'icon' gestalt selector can be used to determine whether the icon utilities are present under System 7.x. Note that this selector is included in the GestaltEqu files. It turns out that this selector is not implemented until System Software v7.1.2. To check for the existence of these utilities, use the TrapAvailable code to check for the _IconDispatch, (0xABC9) trap. The TrapAvailable code is presented in Inside Macintosh VI 3-8, and as sample code in many of the snippets on the Developer CD." This snippet shows how to determine whether the Icon Utilities are available. Requirements: Keywords: Icon, Utils, Utilities

Document Revision History

Date Notes
2003-01-30Shows how to determine whether the Icon Utilities are available.

Did this document help you?
Yes: Tell us what works for you.
It’s good, but: Report typos, inaccuracies, and so forth.
It wasn’t helpful: Tell us what would have helped.