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
exException
Returns
DllImportError(Exception)
DllImportの際にDllNotFoundExceptionかBadImageFormatExceptionが発生した際に呼び出されるメソッド。 エラーメッセージを表示して解決策をユーザに示す。
public static void DllImportError(Exception ex)
Parameters
exException
TryPInvoke()
Checks whether PInvoke functions can be called
public static void TryPInvoke()