home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.sys.mac.programmer
- Path: sparky!uunet!usc!rpi!usenet.coe.montana.edu!nntp.uoregon.edu!eric_gorr@coglab_psych.uoregon.edu
- From: eric_gorr@coglab_psych.uoregon.edu (Eric Gorr)
- Subject: Crashing Bug - very strange!
- Message-ID: <1992Aug27.235235.11825@nntp.uoregon.edu>
- Sender: news@nntp.uoregon.edu
- Organization: University of Oregon Network Services
- Distribution: usa
- Date: Thu, 27 Aug 92 23:52:35 GMT
- Lines: 31
-
- I am not looking for any specific fix to code, just some ideas.
-
- Here's the set up:
-
- the application = theApp
- first XCMD = XCMD1
- second XCMD = XCMD2
- third XCMD = XCMD3
-
- I wrote theApp that accepts some custom apple-events from hypercard via the
- XCMDs which create the event and calls AESend.
-
- Now, when I execute XCMD1 and XCMD2 from hypercard, it works fine.
-
- After this, I send XCMD3. theApp registers that a custom AE was sent to
- it, but theApp does not call the procedure associated with XCMD3. If I
- don't send XCMD1 and XCMD2 before XCMD3, then theApp does call the
- procedure associated with XCMD3.
-
- Also, When I quit out of the application and run it again, it crashes for
- no reason that I can think of because it doesn't crash the first time it is
- run and I am also forced to restart the computer - it becomes to unstable.
-
- If you need more of an explanation, let me know.
-
- Any ideas? Bascally everything works (sort of) the first time, but when I
- try to do it again, it crashes. Something is getting seriously screwed up,
- but I have no idea how to find it since all of the procedures which return
- OSErr's, return noErr.
-
- thanx...
-