There was a different behavior on linux and visual studio That was making it hard to link functions correctly That remove some ifdef / extern "C" requirements note about x86 releases, x86 nvml.dll is not installed on Windows x64!