Jump to content
  • Advertisement
Sign in to follow this  
Dmnbp7ip

OpenGL Starting opengl from a dll

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

Hi, I have kind of a problem. I am trying to develop a 3D vizualisation of a physics simulator as a plugin. This plugin must be in a DLL format. Do you know how I could launch an opengl window from a DLL ??

Share this post


Link to post
Share on other sites
Advertisement
... Am I that stupid ???

I didn't even think about that ! I have difficulties with the DLL concept, I do not consider it as a normal program with a main loop. This is my first try at manipulating DLL, so I feel a bit stupid there.



Share this post


Link to post
Share on other sites
Guest Anonymous Poster
Make a function that takes the windows handle and creates a opengl context from it. Bam. Done.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

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

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!