I am attempting to find out the version of OpenGL on my PC with Windows 7, and unfortunately can't seem to find the magic code
After looking online, it appears that the code should go something like this:
This looks like it works on GL version 3.0 or greater. I have attempted to prefix the code with OpenGL (as is common with Real Studio for the Windows 7 version), and this command doesn't exist. Chuckle, If the latest version of Windows 7 is less than 3.0, then the command likely doesn't exist.
I found a helpful OpenGL Module at http://basic4gl.wikispaces.com/2D+Drawing+in+OpenGL
and assembled the following code:
Dim Get_Major as new MemoryBlock(4)
Dim Get_Minor as new MemoryBlock(4)
LblMajor.Text = Get_Major.CString(1)
I am assuming that the major value may be 3.0, and needing to have a terminating byte, I needed 4 bytes. Still no joy.
Does anyone have any thoughts on this?
Thanks for your kind help,