home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / comp / sys / mac / programm / 14134 < prev    next >
Encoding:
Internet Message Format  |  1992-08-17  |  1.2 KB

  1. Path: sparky!uunet!psinntp!notable!oberon!daven
  2. From: daven@notable.com (Dave Newman)
  3. Newsgroups: comp.sys.mac.programmer
  4. Subject: Re: Finding number of strings in a STR# resource
  5. Date: Mon, 17 Aug 92 18:00:42 PST
  6. Organization: Notable Technologies, Inc.
  7. Message-ID: <01058004.bb6e88@oberon.notable.com>
  8. Reply-To: daven@notable.com
  9. X-Mailer: uAccess LITE - Macintosh Release: 1.5v4
  10. Lines: 21
  11.  
  12.  
  13. In article <1992Aug16.180425.1@tesla.njit.edu> (comp.sys.mac.programmer), erh0362@tesla.njit.edu (Elliotte Rusty Harold) writes:
  14. | I know the first two bytes of a STR# resource contain the number of
  15. | strings in the resource, but is there a Toolbox call to read that 
  16. | information?  Alternately can anyone suggest a hack for getting at that 
  17. | info?  Should I just call GetResource and cast the resulting handle to 
  18. | (short **)? 
  19.  
  20.  
  21. That's they way I'd do it.
  22.  
  23. --Dave
  24.  
  25. -----------------------------------------------------------
  26. Dave Newman                 |  AOL:      AFC Tinman
  27. Artillery Spotter           |  ALink:    TINMAN
  28. Notable Technologies, Inc.  |  CIS:      70743,3323
  29. Voice:    510.208.4449      |  internet: daven@notable.com
  30. FAX:      510.444.4493      |  
  31. -----------------------------------------------------------
  32.