Is it possible?
Heres the story. For my final year project (Computer Science degree) I have to create a simulator for a new type of display. I thought Id do my GUI in VB.NET, and the OpenGL backend in C, which I know (and is nice and simple for OpenGL).
Is there any way I can integrate my C OpenGL code into a panel of my VB.NET GUI, with buttons/textboxes/slider bars etc. that modify variables in the C code to produce on-the-fly changes to the OpenGL display? (The glutIdleFunc would take care of that.) It would be nice to keep the GUI and the OpenGL code seperate files.
Although I doubt it. The com and dlls I hear sound object oriented. Will I really have to convert my C code into C++.net? It looks scary!
Thanks.
Heres the story. For my final year project (Computer Science degree) I have to create a simulator for a new type of display. I thought Id do my GUI in VB.NET, and the OpenGL backend in C, which I know (and is nice and simple for OpenGL).
Is there any way I can integrate my C OpenGL code into a panel of my VB.NET GUI, with buttons/textboxes/slider bars etc. that modify variables in the C code to produce on-the-fly changes to the OpenGL display? (The glutIdleFunc would take care of that.) It would be nice to keep the GUI and the OpenGL code seperate files.
Although I doubt it. The com and dlls I hear sound object oriented. Will I really have to convert my C code into C++.net? It looks scary!
Thanks.