home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / sys / mac / programm / 13220 < prev    next >
Encoding:
Internet Message Format  |  1992-07-30  |  1.9 KB

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