Table of Contents

Class PInvokeHelper

Namespace
OpenCvSharp.Internal.Util
Assembly
OpenCvSharp.dll
public static class PInvokeHelper
Inheritance
PInvokeHelper
Inherited Members

Methods

CreateException(Exception)

public static OpenCvSharpException CreateException(Exception ex)

Parameters

ex Exception

Returns

OpenCvSharpException

DllImportError(Exception)

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

public static void DllImportError(Exception ex)

Parameters

ex Exception

TryPInvoke()

Checks whether PInvoke functions can be called

public static void TryPInvoke()