Original Post
Hello, I'm trying to load a xpm image that i have converted from a bmp image with ImageMagick. The code is: when i try to compile this code in visual c++, i have this error windows: Unhandled exception at 0x00385285 in prog.exe: 0xC0000005: Access violation reading location 0x000000 What's this? tank's
#include "image.xpm"
SDL_Surface *image = NULL;
image = IMG_ReadXPMFromArray( image ); //in image.xpm, the array is called image[]