Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!pacific.mps.ohio-state.edu!linac!att!news.cs.indiana.edu!noose.ecn.purdue.edu!dirac!gibbs.physics.purdue.edu!sho From: sho@gibbs.physics.purdue.edu (Sho Kuwamoto) Newsgroups: comp.sys.mac.programmer Subject: AppleEvent problem Message-ID: <5238@dirac.physics.purdue.edu> Date: 8 Jun 91 20:52:52 GMT Sender: news@dirac.physics.purdue.edu Organization: Purdue Univ. Physics Dept, W.Lafayette, IN Lines: 20 I've had some problems implementing AppleEvents. I've taken the program and stripped it down as much as possible. The code which processes events looks like this: void ProcessEvent(void) { OSErr err = noErr; EventRecord event; if (WaitNextEvent(everyEvent, &event, 15, nil)) if (event.what == kHighLevelEvent) err = AEProcessAppleEvent(&event); } The error I get when I call AEProcessAppleEvent is noOutstandingHLE. Has anyone seen behavior like this before? -Sho -- sho@physics.purdue.edu