[DllImport (dll_name, EntryPoint="OPDLLName")]
Public static extern int byid (IntPtr op, int num, int [] id, int [] time, short [] status, double [] value, int [] errors).
Delphi
The function byid (op: THandle; Num: Integer; Var id: an array OF Integer; Var time: an array OF Integer; Var status: an array OF Byte; Var value: an array OF Double; Var errors: an array OF Integer) : Integer; Stdcall; External 'OPDLLName';
Delphi calls to access the address wrong, could you tell me where to write it?
CodePudding user response:
CInt byid (OpenPlant op, int num, int * id, int * time, short * status,
Double * value, int * errors)