Fixed an EntryPointNotFoundException in the NVAPI wrapper:

System.EntryPointNotFoundException: Não é possível localizar um ponto de entrada denominado 'nvapi_QueryInterface' na DLL 'nvapi.dll'.
   em PInvokeDelegateFactoryInternalWrapperType38.nvapi_QueryInterface(UInt32 id)
   em OpenHardwareMonitor.Hardware.Nvidia.NVAPI.GetDelegate[T](UInt32 id, T& newDelegate)
   em OpenHardwareMonitor.Hardware.Nvidia.NVAPI..cctor()
This commit is contained in:
Michael Möller
2010-05-18 19:16:55 +00:00
parent 4c3fdb2c82
commit ea228677db
2 changed files with 3 additions and 2 deletions
+1
View File
@@ -236,6 +236,7 @@ namespace OpenHardwareMonitor.Hardware.Nvidia {
try {
GetDelegate(0x0150E828, out NvAPI_Initialize);
} catch (DllNotFoundException) { return; }
catch (EntryPointNotFoundException) { return; }
catch (ArgumentNullException) { return; }
if (NvAPI_Initialize() == NvStatus.OK) {