home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!pmafire!news.dell.com!swrinde!mips!darwin.sura.net!utkcs2!utkux1.utk.edu!danny@utkux1.utk.edu
- From: danny@utkux1.utk.edu (Danny W. McCampbell)
- Newsgroups: comp.sys.mac.programmer
- Subject: THINK Pascal 4.0 Question?
- Message-ID: <1992Aug28.165433.14278@utkux1.utk.edu>
- Date: 28 Aug 92 16:54:33 GMT
- Sender: usenet@utkux1.utk.edu (USENET News System)
- Organization: University of Tennessee
- Lines: 27
-
- I have a question for those of you who use THINK Pascal.
- I am working with AppleEvents so I wrote a simple unit
- to get my handlers to the kCoreClass(the four apple
- suggests all applications should have). Well I added
- AppleEvents.p to my project window and noticed that it's
- uses included AppleTalk.p, Processes.p, PPCToolbox.p,
- EPPC.p, and Notification.p. I added these to my project
- window as well and I am sure without a shadow of a doubt
- that I placed them in the proper build order. Now when
- I build the files I get an error that says:
-
- nReturnReceipt is not declared. The error was coming from
- the AppleEvents.p. I traced nReturnReceipt and it is
- declared as a constant in EPPC.p as follows:
-
- nReturnReceipt = $00000200;
-
- Why should I get this error if all the files are in the
- proper build order. I have double and triple checked them
- so I know they are in the right build order.
-
- Any ideas? I was thinking about changing the line in
- AppleEvents.p (kAEWantReceipt = nReturnReceipt) to
- kAEWantReceipt = $00000200 to see what happens. Any
- ideas would be greatly appreciated. Thanks in advance.
-
- Danny McCampbell
-