Getting OGL driver version on VIsta

Hi,
I am new to OpenGL and I am having a problem getting the current OpenGL ICD when running in Vista, in XP I have code that finds the driver in the registry:
SOFTWARE\Microsoft\Windows\CurrentVersion\OpenGLDrivers
but this reg key has no information on Vista.
What is the right way to get this information?
thanks,
sd

glGetString with GL_VENDOR, GL_RENDERER, GL_VERSION ? Or you want the vendor driver internal version ?
http://pyopengl.sourceforge.net/documentation/manual/glGetString.3G.html

Anyway, mine (Windows 2000 pro sp4, Geforce 6800) is here :
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\OpenGLDrivers\RIVATNT

Do search on regedit for “OpenGLDrivers” maybe.

I’m looking for the vendor driver version and dll name.
The path you listed is the same one I was using on XP, but doesn’t have any information in Vista.
The information that I’m looking for can be found in:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Class{4D36E968-E325-11CE-BFC1-08002BE10318}\0000

But I’m not sure if the GUID in the path is static, or if it changes from system to system.

I have windows XP home edition v2002 SP2
It does not have the key: SOFTWARE\Microsoft\Windows\CurrentVersion\OpenGLDrivers
But in SOFTWARE\Microsoft\Windows NT\CurrentVersion\OpenGLDrivers\RIVATNT
it has:
Dll = nvoglnt
DriverVersion = 65536
Flags = 1
Version = 2

In: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Class{4D36E968-E325-11CE-BFC1-08002BE10318}\0000
i have completely different information (no DLL name)
CoInstallers32 = nvcod.dll
DriverVersion = 9.6.8.9
InfSection = nv4_NV8x
(and lots of other stuff)
Under the “settings” sub-key is also:
InstalledDisplayDrivers = nv4_disp

This topic was automatically closed 183 days after the last reply. New replies are no longer allowed.