How do you exit examples?

If you are a new Irrlicht Engine user, and have a newbie-question, this is the forum for you. You may also post general programming questions here.
Dogs
Posts: 195
Joined: Wed Sep 15, 2004 1:04 am
Location: michigan

Post by Dogs »

I found the problems..
#1 was missing MyEventReceiver receiver; just after main...
#2 I moved the event before main...
#3 I added &receiver..
Works like a champ now..
I probably wouldnt have found this for a very long time if wasnt for your guys help.. Thanks again and I hope it helps others out to read this forum as well as it does for me...
Midnight
Posts: 1772
Joined: Fri Jul 02, 2004 2:37 pm
Location: Wonderland

Post by Midnight »

alt+f4 will close any program..

that or try using your system manager which is the window you get from ctrl+alt+delete all processes are listed there...

hell take a look at windows keyboard shortcuts one day when your sitting there going out of your mind maybe....heh
Dogs
Posts: 195
Joined: Wed Sep 15, 2004 1:04 am
Location: michigan

Post by Dogs »

Yes alt + f4 will but not everyone knows this lol.. In fact I found it the hard way and did every combo of alt + keys that I could tell I figured it out...
Anyway that isnt very good programming to not have some natural way to close the program..
My examples here when fixed with others help dose work so if anyone wants to add it to there projects your programs users will be able to click on escape to close the program using the code from within the program to close the app insted of windows... Im not sure how other operating systems work but id have to gues that the alt + f4 may not work on all operating systems... So is best to write app termination into your application insted...

Again thanks for all the help ive gotten in this forum..
Post Reply