I would have fixed it differently, but I wasn't asked

Christian
you don't have time, your too busy finding errors in coins

christian have you ever looked through the docs for nvapi?
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