home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / comp / sys / mac / programm / 15197 < prev    next >
Encoding:
Text File  |  1992-09-08  |  1.8 KB  |  44 lines

  1. Newsgroups: comp.sys.mac.programmer
  2. Path: sparky!uunet!decwrl!csus.edu!netcom.com!mspace
  3. From: mspace@netcom.com (Brian Hall)
  4. Subject: Re: CTB undocumented routines and Think Libs
  5. Message-ID: <z#snx5#.mspace@netcom.com>
  6. Date: Wed, 09 Sep 92 03:33:24 GMT
  7. Organization: Netcom - Online Communication Services  (408 241-9760 guest) 
  8. Distribution: comp
  9. References: <ULFIS.92Sep8223513@cyklop.nada.kth.se> <m8rnpy+.leonardr@netcom.com>
  10. Lines: 32
  11.  
  12. leonardr@netcom.com (Leonard Rosenthol) writes:
  13. >In article <ULFIS.92Sep8223513@cyklop.nada.kth.se> ulfis@cyklop.nada.kth.se (Anders Ulfheden) writes:
  14. >>The file <CommResources.h> contains the glue for some *undocumented* CTB
  15. >>routines:
  16. >>
  17. >>...
  18. >>pascal Handle CRMGetToolResource (short procID, ResType theType, short theID);
  19. >>pascal void   CRMReleaseToolResource (short procID, Handle theHandle);
  20. >>...
  21. >>pascal OSErr  CRMFindCommunications(short *vRefNum, long *dirID);
  22. >>...
  23. >>
  24. >>When I use CRMGetToolResource() in my code (CommToolbox library added) I get
  25. >>a "undefined CRMGetToolResource" link error.
  26. >>
  27. >    These routines are part of CTB 1.1, which is available as a separate
  28. >library for Think, but should be part of the MPW 3.2 .o files.  If you don't
  29. >have the docs/library for the CTB 1.1, they are available on ftp.apple.com.
  30. >Leonard Rosenthol            Internet:     leonardr@netcom.com
  31.  
  32. The 1.1 files come in MPW .o format.  You need to run it past oConv (and
  33. create a vocabulary file if you want lower case in the names).  I think I
  34. also had to make a small change to one of the header files in that package
  35. as well (or I got newer ones from the ETO CD - I forget).
  36.  
  37. -- 
  38.  
  39.  \ | /   | Brian Hall                 mspace@netcom.com
  40.  - : -   | Mark/Space Softworks       Applelink: markspace
  41.   /|\    |                            America Online: MarkSpace
  42.  |-+-|   |
  43. /-\|/-\  | The tornado ate my powerbook.
  44.