I have a dll that draws a triangel in OpenGL form through a method "GlutCreateWindow("Name of the WIndow")"...i am using that dll in my DirectX application. i want that the drawing must be done on my DirectX Form not on OpenGL Form...
i am sending my DirectXform handle as a parameter to the the method but the application exited when it reaches the "GlutCreateWindow("Name of the WIndow")" line.
i have tried several different Glut Windows Management Method like GlutCreateSubWindow(), GlutSetWindow() etc but nothing brings my desired result...
is this a doable task that i am working for?
Please help...