🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.mac.oop.macapp3
Article #15

Re: AppleEvent source for MacA

#15
From: De Waele Willy - Gent,BE,IHD
Date: Tue, 22 Dec 1992 19:33
33 lines
1845 bytes
Hi Jay,
 
I have developped MacApp 3.0.1 classes with AE's and it is working. I'm using
only the kAEWaitReply option, thus the client is waiting for answer from the
server and eventually resulting in a timeout-error.
 
I was experimenting during some while until i found a *nice-OOP* solution.
I overwrote the 'DoAppleCommand' in the TDocument or TFileBasedDocument, but
this didn't work, so i overwrote it in the TApplication with a little trick
(searching the TDocument with a specific FileSpec).
 
The classes are part of my *framework-above-MacApp*: ie a DB access method.
I can convert it to a *NothingAE* example, but this will take some time. If
there are a lot of members interresting in this stuff, i will do it and first
submit it to a *specialist* (because it is not perfect! - sending a request to
a server on another Mac is not tested - later when i receive my PB 180) and
eventually it is worth for an article in FrameWorks.
 
Next step will be OSL, after the DU course on diskette (after NewYear), which
is very good (i compiled the whole stuff once), but THINK C 5.0.
 
> The official documentation is weak
 
1. 'Programmer's Guide to MacApp' gives anly one example (Publish/Subscribe)
2. Develop CD 'AppleEventoMacApp3.0b1o7.0' (Japanese example) is not clear
3. Develop CD 'AEObject-Edition1.0.2 Sample' is very good, but non-MacApp
 
Regards
Willy
 
ps: If you implement AE's, use 'AETracker 3.0', which is VERY GOOD for
debugging AE's
 
Technical Details
Message-ID: <725052892.8917491@AppleLink.Apple.COM>
Path: arc1-ca.pugleaf.net!sparky!uunet!olivea!apple!applelink.apple.com

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!olivea!apple!applelink.apple.com
From: DEWAELE.W@AppleLink.Apple.COM (De Waele Willy - Gent,BE,IHD)
Newsgroups: comp.sys.mac.oop.macapp3
Subject: Re: AppleEvent source for MacA
Message-ID: <725052892.8917491@AppleLink.Apple.COM>
Date: 22 Dec 92 19:33:00 GMT
Sender: daemon@Apple.COM
Organization: AppleLink Gateway
Lines: 33