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