Problem with GlutGameMode

Hi
I need help with the “GlutGameMode”
I use it to Enter the Fullscreen mode.
After I left the Game mode “LeaveGameMode”
Windows told me that something went wrong.
It is only an small Program becouse I only
want to test this mode.
If you like to try it on your System here are
the Links:

The Programm:
http://mnemno.bei.t-online.de/dwlod/mnemno.zip

The Code:
http://mnemno.bei.t-online.de/dwlod/Source.zip

Please let me know if somebody can figured out what
is going worng in my Program.

thanks a lot -< bye >- Mnemno

Yup, you leave game mode, but you dont leave the program. Either

a: put exit(0); after the glutLeaveGameMode()

or

b: go back into a window.

thanks a lot it works well now !!!