【发布时间】:2018-08-04 03:26:33
【问题描述】:
我在 Delphi 10.2 中使用快速报告 6。当我将 quickreport 源路径添加到库路径时,我在 qrpdffilt.pas 上遇到不兼容的类型错误。
Var
P: ^ pos2table;
Buff: array of ansichar;
d: dword;
RGBCol:TRGBColor;
PColor: TColor;
Pos2table is of type packed array
Incompatible types issue comes for following lines
P:=@Buff[d];
RGBCol:=pcolor;
有什么办法吗?
【问题讨论】:
-
我们不知道这些类型是什么。不过,我认为你可以为自己穿上它。我会帮你做的。首先阅读该错误消息的文档。网络搜索会带你去。查找所涉及类型的定义。然后错误就会变得清晰。
标签: delphi delphi-10.2-tokyo quickreports