JNA调用动态链接库的问题
最近需要用java调用一个用delphi写的动态链接库,在网上查了下 使用JNA可以调用,
但调用函数中参数为结构体内嵌套一个结构体,这样的参数在java中该如何表示?
需要传入LPRParam这个结构体
LPRPlateModel = Record
plateType: Integer;
plateCharType: array [0..LPR_MAX_NUM_CHAR-1] of Integer;
end;
// LPR参数
LPRParam = Record
size: Integer;
nMaxPlate: Integer;
nMinPlateWidth: Integer;
nMaxPlateWidth: Integer;
plateModel: LPRPlateModel;
end;