Okay, I have been having an issue with a program I am working on, and for some reason
after the final return in "void DarkGDK(void)" I am getting an access violation error, and have no idea why.
Here is an image of the error box:
The problem is that when I choose "Break", it tells me that there is no source code that it can direct me to and just pauses.
If anyone has encountered this before, or knows what is happening, any help would be great. I would post the code but it is across many files and not commented at all.
p.s: should I call dbDeleteObject(ID) inside a class destructor if i am not controlling the class with a pointer?
EDIT: I guess I should test my "theories".
Tip to anyone/everyone out there who decides to delete objects in class destructors: DON'T. I fixed it by getting rid of the deleting in the destructors.
I am not smart. I am not powerful. I am just a guy. I am strengthened through my faith.