home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / comp / sys / mac / programm / 20407 < prev    next >
Encoding:
Internet Message Format  |  1992-12-29  |  1.2 KB

  1. Path: sparky!uunet!uchdcc!camino.mic.cl!thomas
  2. From: thomas@camino.mic.cl (Thomas Fruin)
  3. Newsgroups: comp.sys.mac.programmer
  4. Subject: New CTB tool resource calls supported yet?
  5. Organization: El Camino
  6. Message-ID: <0105013E.mcmno1@camino.mic.cl>
  7. Reply-To: Thomas Fruin <thomas@camino.mic.cl>
  8. Distribution: world
  9. X-Mailer: uAccess - Macintosh Release: 1.5v4
  10. Lines: 25
  11. Date: Tue, 29 Dec 1992 20:55:16 CST
  12.  
  13. Here I am again with another question:
  14.  
  15. I'm using the new CTB v1.1, and linking the CommToolboxExtensions.o
  16. file with my code. When I call Gestalt to get the Communications Resource
  17. Manager attributes (with gestaltCRMAttr), I get back a long with only
  18. the bit for the gestaltCRMPresent selector set. I was expecting to
  19. see the new gestaltCRMToolRsrcCalls bit as well, so I can use the
  20. new calls to get resources out of a tool file.
  21.  
  22. Well, I thought I would just ignore that bit, and assume the tool
  23. resource calls are present anyway :) But when I call CRMGetToolResource
  24. to get the tool's 'caps' resource, I get something which is not NULL
  25. but not a handle either...
  26.  
  27. What is going on? Perhaps someone has some sample code using the new
  28. calls, and parsing caps resources?
  29.  
  30. -- Thomas Fruin
  31.  
  32.    GroupWare Ltda
  33.    Temuco Office
  34.    CHILE
  35.  
  36.    thomas@camino.mic.cl
  37.  
  38.