Class PInvokeHelper
Inheritance
System.Object
PInvokeHelper
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: OpenCvSharp.Internal.Util
Assembly: OpenCvSharp.dll
Syntax
public static class PInvokeHelper
Methods
| Improve this Doc View SourceCreateException(Exception)
Declaration
public static OpenCvSharpException CreateException(Exception ex)
Parameters
Type | Name | Description |
---|---|---|
Exception | ex |
Returns
Type | Description |
---|---|
OpenCvSharpException |
DllImportError(Exception)
DllImportの際にDllNotFoundExceptionかBadImageFormatExceptionが発生した際に呼び出されるメソッド。 エラーメッセージを表示して解決策をユーザに示す。
Declaration
public static void DllImportError(Exception ex)
Parameters
Type | Name | Description |
---|---|---|
Exception | ex |
TryPInvoke()
Checks whether PInvoke functions can be called
Declaration
public static void TryPInvoke()