home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.sys.mac.programmer
- Path: sparky!uunet!zaphod.mps.ohio-state.edu!cs.utexas.edu!tamsun.tamu.edu!inetg1!news
- From: Randy DeRuiter
- Subject: CustomGetFile won't work with my CDEV
- Message-ID: <1992Dec20.164800.17287@Arco.COM>
- Sender: news@Arco.COM
- Reply-To: dedrad@arco.com
- Organization: TheNews
- Date: Sun, 20 Dec 1992 16:48:00 GMT
- Lines: 23
-
- Hi all-
-
- Sorry if this is a second posting but I don't thin my first one made it out to
- the net.
-
- I'm writing a CDEV in Think C 5.0 and am having a lousy time of getting the
- nifty new CustomGetFile routine into the CDEV. I'm trying to create a
- "Multigetfile" dialog which uses a second list in the dialog to show which
- files have been selected. I converted the latest Apple DTS pascal snippet
- which does what I want into C, added a little more functionality, and debugged
- it in a test application. Everything worked well until I shoved it into the
- CDEV. The CustomGetFile code does have a few globals, though I've tried to
- remove as many as possible. From some simple examinations with MacsBug, it
- looks like the A4 register is not valid when I enter my hook routines from
- CustomGetFile. Stuffing the proper A4 address into the code in various places
- has not been successful. Has anyone out there had success in this area? Any
- suggestions direct to me or to the net would be appreciated.
-
- Thanks,
-
- Randy DeRuiter
- dedrad@arco.com
-
-