Missing library?

Using Visual C++ 6.0 on a Win98 machine… I have 2 small OpenGL programs. One works fine, the other fails to create a device context on the “wglCreateContext” command. Through the use of GetLastError() I was able to find out that wglCreateContext returns error code 1157: “One of the libraries needed to run this application cannot be found”. In the project settings I DID specify opengl32.lib and glu32.lib, and my program makes no use of glaux or glut. So as far as I know the missing library may not be OpenGL related. Any ideas? Thanks. (I made sure the box “Ignore all default libraries” was NOT checked. I also have tried to compare settings and code with the OpenGL program I have which DOES work, and I cannot find the difference!)

[This message has been edited by xpnctoc (edited 11-03-2003).]