LoadLibrary NVCPL.DLL

I’m trying to load the library in C++ using the method “LoadLibrary” in Windows 7 64bits.

MyCode:
########

HMODULE hNvCpl = LoadLibrary(“nvcpl.dll”);

########

Whenever “hNvCpl” is NULL.
Has anyone managed to load this dll?

I tried the same piece of code and problems persist, searching here in oficial developer foruns and another oficial source of devel information and don´t found any explanation about this problem.

an secret that only nvidia panel could explain within your code…

anyone?

If your running 64 bit windows make sure your load library is in a 64 bit process. You are probably trying to loading the nvcpl.dll that is 64 bit.

Also of interest might be http://blog.mattmags.com/2007/06/30/accessing-32-bit-dlls-from-64-bit-code/

Thank you browmi03 and rvangaal. My problem was solved exactly with your answers.