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) {
+2 -2
View File
@@ -69,5 +69,5 @@ using System.Runtime.InteropServices;
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("0.1.34.0")]
[assembly: AssemblyFileVersion("0.1.34.0")]
[assembly: AssemblyVersion("0.1.35.0")]
[assembly: AssemblyFileVersion("0.1.35.0")]