I have this code.
http://pastebin.com/guZ7Svs4 (Stack overflows code methods were giving me trouble)
It compiles fine but it won't run. It works fine without the image loading. The image.png file exists.
MSCV2010 Express gives me this error.
Unhandled exception at 0x76f015de in program.exe: 0xC0000005: Access violation reading location 0x00000014.