i am messing with it now and it will most likely be a better solution for you to use then nvml as its 32 and 64 bit
"Initially exposed only to OEMs and game developer tools, NVAPI is now available for download to all developers interested in building Windows applications on NVIDIA GPUs."
it's Windows only. Meh.
Christian
hmm what about implement it into the windows build and use nvidia-smi under linux?
you already have the if definition for if its windows or not

you would need to use something like this
#ifdef _WIN64
return "Windows 32-bit";
#elif _WIN32
return "Windows 64-bit";
#elif __unix || __unix__
return "Unix";
#elif __APPLE__ || __MACH__
return "Mac OSX";
#elif __linux__
return "Linux";
#else
return "Other";
#endif