Jump to content
  • Advertisement


This topic is now archived and is closed to further replies.


2 Questions

This topic is 6128 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

1) I want to run ''CreateGLWindow'' by itself in a dll. I added these lines of code to it: glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT); // Clear The Screen And The Depth Buffer glLoadIdentity(); // Reset The Current Modelview Matrix SwapBuffers(hDC); I created the dll and ran it inside a program made in a totaly different language and the window comes up for a bit of a second as it should be, then it seems it goes behind all the other windows and malfunctions... I do not want to have a loop in my dll code because then I can''t command it to do anything in my other program. 2) How do I get an already created window (in a seperate program) and turn it into an OpenGL window and interact with it? Does anyone know the answers? Thanks...

Share this post

Link to post
Share on other sites

  • Advertisement

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!