home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!psinntp!notable!oberon!daven
- From: daven@notable.com (Dave Newman)
- Newsgroups: comp.sys.mac.programmer
- Subject: Re: Finding number of strings in a STR# resource
- Date: Mon, 17 Aug 92 18:00:42 PST
- Organization: Notable Technologies, Inc.
- Message-ID: <01058004.bb6e88@oberon.notable.com>
- Reply-To: daven@notable.com
- X-Mailer: uAccess LITE - Macintosh Release: 1.5v4
- Lines: 21
-
-
- In article <1992Aug16.180425.1@tesla.njit.edu> (comp.sys.mac.programmer), erh0362@tesla.njit.edu (Elliotte Rusty Harold) writes:
- |
- | I know the first two bytes of a STR# resource contain the number of
- | strings in the resource, but is there a Toolbox call to read that
- | information? Alternately can anyone suggest a hack for getting at that
- | info? Should I just call GetResource and cast the resulting handle to
- | (short **)?
-
-
- That's they way I'd do it.
-
- --Dave
-
- -----------------------------------------------------------
- Dave Newman | AOL: AFC Tinman
- Artillery Spotter | ALink: TINMAN
- Notable Technologies, Inc. | CIS: 70743,3323
- Voice: 510.208.4449 | internet: daven@notable.com
- FAX: 510.444.4493 |
- -----------------------------------------------------------
-