I'm getting a constant error every time i try a new piece of code when i'm testing if a plugin works. I've been trying to get SQL to work getting the same error and now also with SDLMappy,
Looked on google and its all saying others ppls code is wrong (i know these arent wrong cos i've tryed 10+ sql codes to test with the same error and now its spreading to anything i touch with c++ =/.
You're accessing a bad/uninitialized pointer. If the crash is happening on the SDL_BlitSurface line, then one of your SDL_Surfaces probably wasn't created.