View Full Version : In VB what is the difference in hDC and hRC?

John Jenkins
09-26-2002, 11:50 AM
I know it is a VB question but it is very important for OpenGL programming.

09-26-2002, 12:47 PM
Judging from those variable names, I'm guessing hDC is an HDC and hRC is an HGLRC. The difference is that the HDC is a handle to the device context for the Window, and the HGLRC is a handle to the rendering context for OpenGL.