Delphi prototype:
HSEncode=function (nMessageType: integer;
PbyEncodeMessage: PByte;
NEncodeMessageLength: integer;
NCorrectionLevel: integer;
NVersion: integer;
NModeSize: integer;
NRotate: integer;
NDpi: integer;
NImageType: integer;
SFileName: AnsiString) : integer; Stdcall;
CodePudding user response:
Try string PByte yao char?CodePudding user response:
Tried, I can't.CodePudding user response:
Does your zha statement posted a lookCodePudding user response:
Pbyte is ref int?CodePudding user response:
Off []CodePudding user response:
HSEncode=function (nMessageType: integer;PbyEncodeMessage: PByte;
NEncodeMessageLength: integer;
NCorrectionLevel: integer;
NVersion: integer;
NModeSize: integer;
NRotate: integer;
NDpi: integer;
NImageType: integer;
SFileName: AnsiString) : integer; Stdcall;
The following is a corresponding relationship between
Delphi pb
The integer long
PByte Blob
AnsiString string
You try again,