Show / Hide Table of Contents

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 Source

CreateException(Exception)

Declaration
public static OpenCvSharpException CreateException(Exception ex)
Parameters
Type Name Description
Exception ex
Returns
Type Description
OpenCvSharpException
| Improve this Doc View Source

DllImportError(Exception)

DllImportの際にDllNotFoundExceptionかBadImageFormatExceptionが発生した際に呼び出されるメソッド。 エラーメッセージを表示して解決策をユーザに示す。

Declaration
public static void DllImportError(Exception ex)
Parameters
Type Name Description
Exception ex
| Improve this Doc View Source

TryPInvoke()

Checks whether PInvoke functions can be called

Declaration
public static void TryPInvoke()
  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX