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: AESend returns bogus error. Help!
- Message-ID: <70626@apple.Apple.COM>
- Date: 30 Jul 92 01:04:13 GMT
- References: <COLIN.92Jul29165813@wrangel.Cayman.COM> <1992Jul29.220620.27897@cs.yale.edu>
- Distribution: comp
- Organization: Apple Computer Inc., Cupertino, CA
- Lines: 24
-
- In article <1992Jul29.220620.27897@cs.yale.edu> bitting-douglas@CS.YALE.EDU (Pondscum Czar) writes:
- >
- >In article <COLIN.92Jul29165813@wrangel.Cayman.COM> colin@Cayman.COM (Colin "Atilla" Steele) writes:
- >
- >> result = AEDisposeDesc(&theAddressDesc);
- >[...] ^^^^^^^^^^^^^
- >> result = AESend(&theAppleEvent,
- >[...] ^^^^^^
- >
- >I believe you have these out of order... call AEDisposeDesc after the
- >call to AESend... or AESend won't know where to send it.
- >
-
- The order is OK, the addressDesc is already copied in AECreateAppleEvent.
- The problem is that targetID is not set up properly since the location
- field was not set.
-
- /* 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
-