C# 클래스 OpenCvSharp.Util.WindowsLibraryLoader

Handles loading embedded dlls into memory, based on http://stackoverflow.com/questions/666799/embedding-unmanaged-dll-into-a-managed-c-sharp-dll.
This code is based on https://github.com/charlesw/tesseract
파일 보기 프로젝트 열기: shimat/opencvsharp

공개 메소드들

메소드 설명
IsCurrentPlatformSupported ( ) : bool

IsLibraryLoaded ( string dllName ) : bool

LoadLibrary ( string dllName, IEnumerable additionalPaths = null ) : void

비공개 메소드들

메소드 설명
FixUpDllFileName ( string fileName ) : string

Determines if the dynamic link library file name requires a suffix and adds it if necessary.

GetPlatformName ( string processorArchitecture ) : string

Given the processor architecture, returns the name of the platform.

GetProcessArchitecture ( ) : ProcessArchitectureInfo

Get's the current process architecture while keeping track of any assumptions or possible errors.

LoadLibraryInternal ( string dllName, string baseDirectory, ProcessArchitectureInfo processArchInfo ) : IntPtr
LoadLibraryRaw ( string dllName, string baseDirectory ) : IntPtr
Win32LoadLibrary ( string dllPath ) : IntPtr
WindowsLibraryLoader ( ) : System

constructor

메소드 상세

IsCurrentPlatformSupported() 공개 메소드

public IsCurrentPlatformSupported ( ) : bool
리턴 bool

IsLibraryLoaded() 공개 메소드

public IsLibraryLoaded ( string dllName ) : bool
dllName string
리턴 bool

LoadLibrary() 공개 메소드

public LoadLibrary ( string dllName, IEnumerable additionalPaths = null ) : void
dllName string
additionalPaths IEnumerable
리턴 void