home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.sys.mac.programmer
- Path: sparky!uunet!gatech!darwin.sura.net!mips!news.cs.indiana.edu!johnl@spinner.cs.indiana.edu
- From: "John Lacey" <johnl@spinner.cs.indiana.edu>
- Subject: Apple events and Think C
- Message-ID: <1992Aug26.201742.4110@news.cs.indiana.edu>
- Sender: root@news.cs.indiana.edu (Operator)
- Organization: Computer Science, Indiana University
- Date: Wed, 26 Aug 92 15:17:25 EST
- X-Mailer: ELM [version 2.3 PL11]
- Lines: 18
-
- I am trying to get a simple app with Apple events going, but I can't
- even get by the Open Application event.
-
- Problem #1: Using the code snippets from IM VI, the call to
- AEGetAttributePtr returns errAENotAEDesc. The only thing I did was
- call AEProcessAppleEvent, and call AEGetAttributePtr first thing in my
- handler.
-
- Problem #2: Is there any way to debug Apple event handlers in Think C
- 5.0? If I run under Think C, AEProcessAppleEvent returns
- noOutstandingHLE. No such problems with the built application.
-
- What am I missing, and is there a good reference for this, or some
- example code?
-
- --
- John Lacey `Everything must end; meanwhile we
- must amuse ourselves.' --Voltaire
-