Waitevent() error?

BlitzMax Forums/BlitzMax Programming/Waitevent() error?

I can't explain it as I haven't changed anything in my app. It worked fine last time I ran it, and now when I try to run it I get an error with waitevent()

"Unhandled Memory Exception Error"

What can cause this? (i'm using maxgui btw)