Article View: comp.sys.mac.programmer.codewarrior
Article #1364Re: NIL incoming AppleEvent in high level event handler?
From: Reinder Verlinde
Date: Wed, 01 Nov 2000 20:43
Date: Wed, 01 Nov 2000 20:43
23 lines
2229 bytes
2229 bytes
[[ This message was both posted and mailed: see
the "To," "Cc," and "Newsgroups" headers for details. ]]
In article <KDXL5.27431$Fe4.699434@typhoon.austin.rr.com>, JollyRoger
<jolly-spam-bites-roger@pobox.com> wrote:
>
> Can someone tell me what I am doing wrong here? I've got an application
> where I install a few AppleEvent handlers, but when those handlers get
> called, the AppleEvent parameter is always NIL.
>
> ...
> The handlers are prototyped like this:
>
> OSErr AEOpenAppHandler(AppleEvent *theAppleEvent, AppleEvent *reply,
> long refCon);
>
Shouldn't that be
pascal OSErr AEOpenAppHandler(
AppleEvent *theAppleEvent, AppleEvent *reply, long refCon);
?
Technical Details
Message-ID:
<011120002143297955%reinder@mac.com>Path:
arc1-ca.pugleaf.net!supernews.google.com!sn-xit-02!sn-xit-03!sn-xit-uk!supernews.com!194.42.224.136.MISMATCH!diablo.netcom.net.uk!netcom.net.uk!btnet-peer!btnet!newspush.london1.eu.level3.net!level3eu!server12-ams1.POSTED!reinderReferences:
<KDXL5.27431$Fe4.699434@typhoon.austin.rr.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 101ec9,12e87422eb8b0f4d X-Google-Attributes: gid101ec9,public X-Google-Thread: 10bcce,12e87422eb8b0f4d X-Google-Attributes: gid10bcce,public X-Google-Thread: f635e,12e87422eb8b0f4d X-Google-Attributes: gidf635e,public X-Google-Thread: fed41,12e87422eb8b0f4d X-Google-Attributes: gidfed41,public X-Google-ArrivalTime: 2000-11-01 12:42:46 PST Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-02!sn-xit-03!sn-xit-uk!supernews.com!194.42.224.136.MISMATCH!diablo.netcom.net.uk!netcom.net.uk!btnet-peer!btnet!newspush.london1.eu.level3.net!level3eu!server12-ams1.POSTED!reinder Subject: Re: NIL incoming AppleEvent in high level event handler? From: Reinder Verlinde <reinder@mac.com> Newsgroups: comp.sys.mac.programmer.codewarrior,codewarrior.mac,comp.sys.mac.programmer.misc,comp.sys.mac.programmer.help Posted-And-Mailed: yes Message-ID: <011120002143297955%reinder@mac.com> References: <KDXL5.27431$Fe4.699434@typhoon.austin.rr.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Mail-Copies-To: poster User-Agent: YA-NewsWatcher/5.0.1 Organization: WISH B.V. Cache-Post-Path: news.l3.wish.net!unknown@p9912.nl.wish.net X-Cache: nntpcache 2.4.0b2 (see http://www.nntpcache.org/) Lines: 23 Date: Wed, 01 Nov 2000 21:43:29 +0100 NNTP-Posting-Host: 212.123.129.69 X-Trace: server12-ams1 973111364 212.123.129.69 (Wed, 01 Nov 2000 20:42:44 GMT) NNTP-Posting-Date: Wed, 01 Nov 2000 20:42:44 GMT