home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / comp / sys / mac / programm / 14083 < prev    next >
Encoding:
Text File  |  1992-08-17  |  1.1 KB  |  30 lines

  1. Newsgroups: comp.sys.mac.programmer
  2. Path: sparky!uunet!rde!eric
  3. From: eric@homebase.vistachrome.com (Eric Brunson)
  4. Subject: Re: Finding number of strings in a STR# resource
  5. Message-ID: <1992Aug17.132207.13588@homebase.vistachrome.com>
  6. Organization: Vista-Chrome Incorporated
  7. References: <1992Aug16.180425.1@tesla.njit.edu>
  8. Date: Mon, 17 Aug 1992 13:22:07 GMT
  9. Lines: 19
  10.  
  11. erh0362@tesla.njit.edu (Elliotte Rusty Harold) writes:
  12.  
  13.  
  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.                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  19. >(short **)? 
  20.  
  21. You are correct, Sir!!!!
  22.  
  23. >Elliotte Rusty Harold        Department of Applied Mathematics
  24. >elharo@m.njit.edu        New Jersey Institute of Technology
  25. >erh0362@tesla.njit.edu        Newark, NJ 07103
  26. -- 
  27. Eric "Ra" Brunson      |
  28. eric@vistachrome.com   |     These opinions are mine alone, but
  29. brunson@math.fsu.edu   |   they could be yours for a low monthly fee.  
  30.