Jump to content
  • Advertisement

Archived

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

bzroom

OpenGL Opengl with vb window.

This topic is 5467 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

I've created a window in vb (real tuff), and i give opengl my hwnd and hdc but it dosnt like it. I want to render to the vb window from a c++ dll. It can't get a pixel format from my hdc, and then when i manualy set a pixelformat it can't set it to the hdc. What is the deal? edit: Ok, i now only pass it the hwnd of my vb form, and let the dll obtain its drawing context. When i do this everything loads up fine and the game starts running i simply just dont get anything drawn to the vb window. Is this even possible to do? [edited by - honayboyz on July 28, 2003 10:58:09 AM]

Share this post


Link to post
Share on other sites
Advertisement

  • 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!