I am using a graphics library (OCX) that creates an OpenGL window, displays some pretty graphics and then ends.
problem is when the app ends the OpenGL window does not die.
Thus I have tried using FindWindow and DestroyWindow but DestroyWindow returns err number 5 - Access Denied.
Does anybody know why this, and how to solve.
Thanks.
Rich.
problem is when the app ends the OpenGL window does not die.
Thus I have tried using FindWindow and DestroyWindow but DestroyWindow returns err number 5 - Access Denied.
Does anybody know why this, and how to solve.
Thanks.
Rich.