home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / sys / mac / programm / 13217 < prev    next >
Encoding:
Text File  |  1992-07-30  |  1.4 KB  |  36 lines

  1. Newsgroups: comp.sys.mac.programmer
  2. Path: sparky!uunet!wupost!sdd.hp.com!ux1.cso.uiuc.edu!uchinews!quads!jcav
  3. From: jcav@quads.uchicago.edu (JohnC)
  4. Subject: Re: Dialog hook function problem...
  5. Message-ID: <1992Jul30.182127.10117@midway.uchicago.edu>
  6. Keywords: Dialog hook
  7. Sender: news@uchinews.uchicago.edu (News System)
  8. Reply-To: jcav@midway.uchicago.edu
  9. Organization: The Royal Society for Putting Things on Top of Other Things
  10. References: <55560@mentor.cc.purdue.edu>
  11. Date: Thu, 30 Jul 1992 18:21:27 GMT
  12. Lines: 22
  13.  
  14. In article <55560@mentor.cc.purdue.edu> benescc@mentor.cc.purdue.edu (Chris Benes) writes:
  15. >I am having a bear of a time trying to get a customized
  16. >"Save as..." dialog box to work.
  17. >
  18. >I receive the following error when my dialog hook function 
  19. >exits after being called by CustomPutFile :
  20. >
  21. >    Unimplemented instruction at 00000100
  22. >    No procedure name
  23. >
  24. >I am working in Think C 5.0.1 under System 7.0.1 on a Mac IIci 
  25. >with 5 Mb.
  26.  
  27. Did you declare your hook function with the "pascal" keyword?  This is
  28. required for all Toolbox callback functions.  (I know, except for the ones
  29. that must be written in assembly language, but they're rare)
  30.  
  31. -- 
  32. John Cavallino                  |  EMail: jcav@midway.uchicago.edu
  33. University of Chicago Hospitals |         John_Cavallino@uchfm.bsd.uchicago.edu
  34. Office of Facilities Management | USMail: 5841 S. Maryland Ave, MC 0953
  35. B0 f++ c+ g++ k s++ e+ h- pv    |         Chicago, IL  60637
  36.