I’m trying to deal with a weird problem I see. Under Windows NT 4.0, it seems that wglCreateContext() allocates between 2 to 4 handles (viewed using Performance monitor), and wglDeleteContext() deletes usually none.
I believe that this explains a problem I’ve noticed in our application (We get to around 4000 handles open, and then crash).
Has anybody noticed something like that ? Any pointers or something to look at ?