home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / comp / sys / mac / programm / 20132 < prev    next >
Encoding:
Text File  |  1992-12-21  |  1.4 KB  |  35 lines

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