initialization failure ddraw.dll

I got initialization failure ddraw.dll when I call SetPixelFormat().

Any advice will be appreciated.

Any more information you can provide would be useful. Do any OpenGL apps run on your system? Which card/drivers are you using? What version of the OS?

The ddraw.dll contains DirectDraw, which is part of DirectX. Apparently, it is also called by Windows for functions like SetPixelFormat even when you’re not using DirectX specifically. (I got a similar error message when I tried to initialize OpenGL after I removed ddraw.ddl.)

Check whether ddraw.dll is present in your system32 directory or try installing (the latest version of) DirectX.

This topic was automatically closed 183 days after the last reply. New replies are no longer allowed.