GLBasic rendering context pointer?

Previous topic - Next topic

bigsofty

Hi,

I had this info but can't find it on my computer or doing a forum search. How do you retrieve the OpenGL rendering context pointer that GLBasic uses?

Many thanks,


Ian
Cheers,

Ian.

"It is practically impossible to teach good programming style to students that have had prior exposure to BASIC.  As potential programmers, they are mentally mutilated beyond hope of regeneration."
(E. W. Dijkstra)

Kitty Hello

I have no idea.
You can get the HDC with GetDC(GLBASIC_WHND()); ... ::ReleaseDC(hDC);

But how to get the HGLRC - I have no idea.

bigsofty

Cheers,

Ian.

"It is practically impossible to teach good programming style to students that have had prior exposure to BASIC.  As potential programmers, they are mentally mutilated beyond hope of regeneration."
(E. W. Dijkstra)