Thanks for the replies, but none of them worked D: i made a new empty project, fixed the sprite and texture thing, now they are in the right order, but it still opens up the console and the window, starts spamming completely random stuff into the console and then after 2-4 seconds it gives me an exception error.
Some more Information:
OS: Windows 7 Professional 64bit
IDE: Visual Studio Express 2012
I Have been browsing around this and other forums, and i havent yet found anyone with the same problem as I have, well, some others have Access violation reading location too, but the code is more like 1000 lines then :/ i have only *i dont know how many* lines.. (probably less than 50)