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