How can I get the Nvidia driver version programatically in x86 program?
<p>What I need is the 2 number version (e.g. 368.39) of the Nvidia drivers retrieved in a <code>c++</code> program. Using Windows 7 64b.</p>

<p><a href="https://stackoverflow.com/a/15893481/2628257">Here</a> is how to do this in 64bit applications using <a href="https://developer.nvidia.com/nvidia-management-library-nvml" rel="nofollow noreferrer">NVML</a> library from Nvidia.</p>

<p>However, the <code>nvml.dll</code> distributed with Nvidia drivers is 64bit only. There is no way to dynamically load this library in my 32bit program. This is assuming your computer is 64bit. I have not tested this on a 32bit machine.</p>

<p>So far the NVML seems to be the only library that allows retrieving this information. What other methods are there to get this if any?</p>