Original Post
I am currently getting as Access Violation from KERNEL32.DLL whenever I exit my game. It says:
First-chance exception in Invasion2.exe (KERNEL32.DLL): 0xC0000005: Access Violation.
This is happening AFTER WinMain returns, which is the weird part... People said before that it could be an error in one of my constructors, but right now I don't have any class objects being instantiated. Well, I do have a struct object (a Bitmap type). Actually, I do have one class being instantiated, for my level, but it doesn't define a constructor or destructor. I have Create and Destroy methods in it, and I don't think there's a problem with my destroy causing this, because then the AV would occur when I called Destroy...
Does anyone have any suggestions?
(sorry if this is not well written, it's very late..
)
------------------------------
Jonathan Little
invader@hushmail.com
http://www.crosswinds.net/~uselessknowledge
Edited by - Qoy on 4/18/00 3:40:22 AM
Edited by - Qoy on 4/19/00 1:18:33 AM