Advertisement Jump to content
Sign in to follow this  
__ROB_D__

[.net] [OpenGL / C++ / Managed]

This topic is 4654 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, OK, so I've just started to use .Net with Visual C++ 2005 Express... and I'm trying to renderer OpenGL into a Form. So here's what I'd like a little help with, 1) Is it possable? 2) From MSDN "IWin32Window Interface ... Provides an interface to expose Win32 HWND handles. Namespace: System.Windows.Forms Assembly: System.Windows.Forms (in system.windows.forms.dll)" So this should allow me to get the window Handle, with i can then get the device context from, and then create an OpenGL renderering context etc... Is this a good way to go about it? 3) a little off topic, but, when i #include <windows.h> for example, I get a heap of errors... is this just .Net? is so how should i include the header files I'll need gl.h etc...? Thanks, Rob D

Share this post


Link to post
Share on other sites
Advertisement
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!