Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.
int n1 =ilGetInteger(IL_VERSION_NUM);
What version of DevIL are you using? ilGetInteger should never return 0 for this.