Class NativeLibLoader
Inheritance
object
NativeLibLoader
Assembly: STMachiningToolsImportHelper.dll
public static class NativeLibLoader : Object
Methods
Declaration
public static void FreeDll(IntPtr handle)
Parameters
| Type |
Name |
Description |
| System.IntPtr |
handle |
|
Declaration
public static delegateT GetProc<delegateT>(IntPtr dllHandle, string procName) where delegateT : class
Parameters
| Type |
Name |
Description |
| System.IntPtr |
dllHandle |
|
| string |
procName |
|
Returns
| Type |
Description |
| delegateT |
|
Type Parameters
| Name |
Description |
| delegateT |
|
Declaration
public static IntPtr LoadDll(string libName, out int errorCode)
Parameters
| Type |
Name |
Description |
| string |
libName |
|
| int |
errorCode |
|
Returns
| Type |
Description |
| System.IntPtr |
|
Declaration
public static IntPtr LoadDll(string libName)
Parameters
| Type |
Name |
Description |
| string |
libName |
|
Returns
| Type |
Description |
| System.IntPtr |
|