I am running windows 2000 and having trouble starting up a basic window to draw to using openGL.
The error I am recieving is:
Invalid device context (DC) handle - ERROR_DC_NOT_FOUND
I have used tutorials from the NeHe site as well as those from other sources such as MSDN to create the basic window. The error is returned after calling...
m_hRC = ::wglCreateContext(m_pDC->GetSafeHdc());
I have tried everything I can find on the web to suggest the problem. The main reason I am really stumped is that I get the same problems from the precompiled example .exes that are available with the tutorials.
Does anyone know if this is because of the operating system? What needs to be done differently from NT?