GuillaumeG's picture

tao framework to opentk

Hello all. I am a software developer french (excuse me for spelling and grammar). I am currently working with TAO Framework but I would try OPENTK. I managed to incorporate almost all the code TAO but I can not translate a few instructions. They are:

tao framework code :

m_nHglrc = Wgl.wglCreateContext(m_intptrHdc)

Wgl.wglMakeCurrent(m_intptrHdc, m_nHglrc)

Gdi.SwapBuffers(m_intptrHdc)

Wgl.wglDeleteContext(m_nHglrc)

setHandle(User.GetDC(picVisu3D.Handle), picVisu3D) ==> don't find the "User.GetDC"

Gdi.PIXELFORMATDESCRIPTOR

best regards
thank you