views:

241

answers:

2

I just tried to use devIL and ULIT to help me with opengl texture loading. However, whenever the program starts, I get the error:

"The application was unable to start correctly (0xc000007b). Click OK to close the application."

What happened? I'm using the Visual C++ 2010 RC, windows 7 64-bit.

+1  A: 

Thanks Brian, I just didn't call ilInit at the beginning of the program.

Mark
A: 

It may happen if you attempt to run a 64-bit application, but Windows finds only the 32-bit version of some dependent DLL. You can fix this by making sure all the 64-bit dependency DLLs can be found by Windows, e.g. by setting %path% as appropriate.

chill