home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / sys / mac / programm / 14635 < prev    next >
Encoding:
Text File  |  1992-08-27  |  1.5 KB  |  43 lines

  1. Newsgroups: comp.sys.mac.programmer
  2. Path: sparky!uunet!usc!rpi!usenet.coe.montana.edu!nntp.uoregon.edu!eric_gorr@coglab_psych.uoregon.edu
  3. From: eric_gorr@coglab_psych.uoregon.edu (Eric Gorr)
  4. Subject: Crashing Bug - very strange!
  5. Message-ID: <1992Aug27.235235.11825@nntp.uoregon.edu>
  6. Sender: news@nntp.uoregon.edu
  7. Organization: University of Oregon Network Services
  8. Distribution: usa
  9. Date: Thu, 27 Aug 92 23:52:35 GMT
  10. Lines: 31
  11.  
  12. I am not looking for any specific fix to code, just some ideas.
  13.  
  14. Here's the set up:
  15.  
  16. the application = theApp
  17. first XCMD      = XCMD1
  18. second XCMD     = XCMD2
  19. third XCMD      = XCMD3
  20.  
  21. I wrote theApp that accepts some custom apple-events from hypercard via the
  22. XCMDs which create the event and calls AESend.
  23.  
  24. Now, when I execute XCMD1 and XCMD2 from hypercard, it works fine.
  25.  
  26. After this, I send XCMD3.  theApp registers that a custom AE was sent to
  27. it, but theApp does not call the procedure associated with XCMD3.  If I
  28. don't send XCMD1 and XCMD2 before XCMD3, then theApp does call the
  29. procedure associated with XCMD3.
  30.  
  31. Also, When I quit out of the application and run it again, it crashes for
  32. no reason that I can think of because it doesn't crash the first time it is
  33. run and I am also forced to restart the computer - it becomes to unstable.
  34.  
  35. If you need more of an explanation, let me know.
  36.  
  37. Any ideas?  Bascally everything works (sort of) the first time, but when I
  38. try to do it again, it crashes.  Something is getting seriously screwed up,
  39. but I have no idea how to find it since all of the procedures which return
  40. OSErr's, return noErr.
  41.  
  42. thanx...
  43.