LicenseMethod

Applies to:uCalc Transform
Class:uCalc
Sets the license code
Syntax
License(LicenseType, Opt L1, Opt L2, Opt L3, Opt L4, Opt L5)
Remarks
DLL import code
<DllImport(uCalcDLL, CharSet:=CharSet.Ansi, CallingConvention:=CallingConvention.Cdecl, EntryPoint:="License")> _

Private Function License__(ByVal uCalcHandle As IntPtr,ByVal LicenseType As LicenseTypeEnum,  ByVal L1 As Int32 ,  ByVal L2 As Int32 ,  ByVal L3 As Int32 ,  ByVal L4 As Int32 ,  ByVal L5 As Int32 ) As  Int32
End Function
            
[DllImport(uCalcDLL, CharSet=CharSet.Ansi, CallingConvention=CallingConvention.Cdecl, EntryPoint="License")]

protected static extern  Int32 License_(IntPtr uCalcHandle,LicenseTypeEnum LicenseType,   Int32 L1 ,   Int32 L2 ,   Int32 L3 ,   Int32 L4 ,   Int32 L5 );
            
{DLLImport}function License__(uCalcHandle: System.Pointer;LicenseType: LicenseTypeEnum;  L1: Int32 ;  L2: Int32 ;  L3: Int32 ;  L4: Int32 ;  L5: Int32):  Int32; cdecl; external uCalcDLL name 'License';

            
typedef  int32_t (* __License)(void *uCalcHandle, LicenseTypeEnum LicenseType,   int32_t L1 ,   int32_t L2 ,   int32_t L3 ,   int32_t L4 ,   int32_t L5 ); 

            
[DllImport(uCalcLib, CharSet=CharSet::Ansi, CallingConvention=CallingConvention::Cdecl, EntryPoint = "License")]

static Int32 License_(void *  uCalcHandle, LicenseTypeEnum LicenseType,   Int32 L1 ,   Int32 L2 ,   Int32 L3 ,   Int32 L4 ,   Int32 L5);
            
Prev | Next