# SOLVED - Unhandled Exception

## Recommended Posts

frogtag    121
Hi, I've not programmed for a month or so ... been busy at work and then on holiday. Now i'm back and i've tried to re-compile my program (to check it works). It worked before, but won't now ... I seriously don't remember leaving it in a state of up-heaval and get this message when I compile. Anyone know what's going on? Using C++/OpenGL and Visual C++ 2008 Ex.Ed.
Unhandled exception at 0xfefefefe in Game.exe: 0xC0000005: Access violation reading location 0xfefefefe.



##### Share on other sites
MJP    19753
Looks like you're trying to follow an uninitialized pointer. Why don't you post some code, and tell use which line of code causes the exception?

##### Share on other sites
frogtag    121
I've got 20 files of code ... so wouldn't know where to start as it's not giving any info apart from the Unhandled Exception. If you think it's a pointer problem I'll have to go back to the drawing board and see if there's any obvious errors. Thanks for a lead.

##### Share on other sites
frogtag    121
Found the source of the problem or at least the file. Thanks MJP.

##### Share on other sites
KulSeran    3267
If you run it through the debugger, it should crash that exception straight to the line of code that cauzed it.