alright i know its not open gl in particular but i guess a lot of people who are using opengl are using DevIL aswell
so my proplem is the following, loading a texture using devIL works fine
without the exceptions etc the devIL related code basically is
ILuint image;
ilGenImages(1, & image);
ilBindImage(image);
ILboolean didLoadImage = ilLoadImage(aFilePath);
(.. some error handling, etc)
ilDeleteImages(1, & image);
now, if i add the following 2 lines
ILuint image;
ilGenImages(1, & image);
ilBindImage(image);
ILboolean didLoadImage = ilLoadImage(aFilePath);
ILinfo imageInformation;
iluGetImageInfo(&imageInformation);
(.. some error handling, etc)
ilDeleteImages(1, & image);
my application crashes on "iluGetImageInfo" with an unhandled win32 exception
i have tried calling another ilu function to check if maybe its a problem with the whole ilu module but if i do "iluFlipImage();" it flips the image properly
also prior to the loading i call the 3 initialization functions "ilInit" "iuInit" and "ilutInit"
my library version is 1.6.8