How to determine the version of the video driver in the C ++ version?

I have a graphics application that seems to have fancy behavior with certain combinations of graphics cards and drivers. I would like to fix the version number of the video card driver in the application to help with debugging. Is there an easy way to do this?

+3
source share
1 answer

It depends on the operating system. On Windows, you use Windows Management Instrumentation (WMI). Below is an example that gets the name of the operating system. To get the name of the video driver (s), replace "Win32_OperatingSystem" with "Win32_VideoController" in this example.

+4

Source: https://habr.com/ru/post/1760364/


All Articles