Well, EGET_ELEMENT_CLOSED did not react when closing the window using "X".
But it did with a simple button for which the OnEvent function returns true.
Still a mistery, but we are getting beyond the first topic. Thanks for your help.
Search found 3 matches
- Thu Jan 29, 2015 10:27 am
- Forum: Beginners Help
- Topic: Basic code division causing a crash
- Replies: 5
- Views: 783
- Wed Jan 28, 2015 5:11 pm
- Forum: Beginners Help
- Topic: Basic code division causing a crash
- Replies: 5
- Views: 783
Re: Basic code division causing a crash
Hi zerochen, Thanks for the prompt reply. You are totally right, changing it to a pointer inside the class makes it work (it needs a new/delete though). As many of the Irrlicht methods, I expected setEventReceiver, called by the device, to make a copy of it or give the ownership of the object. But i...
- Wed Jan 28, 2015 4:31 pm
- Forum: Beginners Help
- Topic: Basic code division causing a crash
- Replies: 5
- Views: 783
Basic code division causing a crash
Hi mates, I am new to Irrlicht (1.8.1) and followed the tutorials. Actually it bothered me to keep working on just the main function, so I tried a little something with my own class for a GUI, with init/run/close methods to do the actual job. Problem is: using my run() in the main makes it crash at ...