Home > Back-end >  The prawns, how the C to Delphi? Thank you very much!
The prawns, how the C to Delphi? Thank you very much!

Time:10-03

//Driver Procedure
Typedef struct DrvProcVect {
int i;
Int m
} DrvProcVect;
//Procedures extract from target DLL
FuncDrv_GetDrvProc typedef DrvProcVect * (*) ();

CodePudding user response:

 
Type
PDrvProcVect=^ DrvProcVect;
DrvProcVect=record
I: Integer;
M: Integer;
end;

FuncDrv_GetDrvProc=function () : PDrvProcVect;
  • Related