It turns out, and I'm ashamed of myself, that I had the statements after the "return 0;" of the int OnCreate(...)
I'm very grateful to you for having helped me out though, I never really had got around to using the Debugger. This was a learning experience, nevertheless.
Bookmarks