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

  1. Path: sparky!uunet!stanford.edu!rutgers!njitgw.njit.edu!tesla.njit.edu!erh0362
  2. From: erh0362@tesla.njit.edu (Elliotte Rusty Harold)
  3. Newsgroups: comp.sys.mac.programmer
  4. Subject: Finding number of strings in a STR# resource
  5. Message-ID: <1992Aug16.180425.1@tesla.njit.edu>
  6. Date: 16 Aug 92 23:04:25 GMT
  7. Sender: news@njit.edu
  8. Organization: New Jersey Institute of Technology
  9. Lines: 10
  10. Nntp-Posting-Host: tesla
  11.  
  12.  
  13.     I know the first two bytes of a STR# resource contain the number of
  14.  strings in the resource, but is there a Toolbox call to read that 
  15. information?  Alternately can anyone suggest a hack for getting at that 
  16. info?  Should I just call GetResource and cast the resulting handle to 
  17. (short **)? 
  18.  
  19. Elliotte Rusty Harold        Department of Applied Mathematics
  20. elharo@m.njit.edu        New Jersey Institute of Technology
  21. erh0362@tesla.njit.edu        Newark, NJ 07103
  22.