home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!zaphod.mps.ohio-state.edu!uakari.primate.wisc.edu!unmvax!constellation!apple!mumbo.apple.com!apple!apple!lai
- From: lai@Apple.COM (Ed Lai)
- Newsgroups: comp.sys.mac.programmer
- Subject: Re: AppleEvent gets munged by AEProcessAppleEvent
- Message-ID: <70653@apple.Apple.COM>
- Date: 30 Jul 92 15:42:14 GMT
- References: <1992Jul29.221720.28079@cs.yale.edu>
- Distribution: comp
- Organization: Apple Computer Inc., Cupertino, CA
- Lines: 38
-
- In article <1992Jul29.221720.28079@cs.yale.edu> bitting-douglas@CS.YALE.EDU (Pondscum Czar) writes:
- >
- >OSErr HandleAEOpenApplication(AppleEvent *ae, AppleEvent *reply, long refCon)
- >{
- > if (!ae) DoError("NULL Apple Event!");
- > return MyGotRequiredParameters(ae);
- >}
- >
-
- HandleAEOpenApplication should use Pascal calling convention.
-
-
- >The problem is that DoError is always called from
- >HandleAEOpenApplication... somewhere the system is losing the apple
- >event and I don't understand why.
- >
- >Can anyone help me out here? This is so simple, it's ridiculous... but
- >why it isn't working is boggling to my mind... yes, the handler was
- >installed correctly, or it wouldn't even get that far, no?
- >
- >--Doug
- >--
- > ...Doug Bitting... || "But the wisdom that comes from heaven is first
- > || of all pure; then peace loving, considerate,
- >bitting@cs.yale.edu || submissive, full of mercy, and good fruit,
- >doug@yalevm.bitnet || impartial and sincere." -- James 3:17
- >--
- >--
- >The new Congressmen say they're going to turn the government around. I
- >hope I don't get run over again.
-
- /* Disclaimer: All statments and opinions expressed are my own */
- /* Edmund K. Lai */
- /* Apple Computer, MS37-UP */
- /* 20525 Mariani Ave, */
- /* Cupertino, CA 95014 */
- /* (408)974-6272 */
- zW@h9cOi
-