I am now developing an OpenGL application on Windows98 system with Visual C++.
First I built a class derived from CThreadWnd with distinct render context (GLHRC) in it. I test this class in a single view program and find it does work quite well.
But when I use it in a multi-view(actually a splitter window),every view’s device context is relative to one thread class.
But when the program is running, it always
collapse, often make my system dead.
I take great effort to overwhelm this problem, but fail again and again. (
So I came here looking for help.