怎么解决 Cannot resolve unit name frxClass 这个问题

WindowsX 2019-05-11 04:51:49
WIN10 专业版
DELPHI 10.3.1
Fast Report 6.3

已经把FAST REPORT安装上去

打开 Delphi 10.3 ,新建一个 VCL Form ,把 TfrxReport 组件拖入 Form,代码如下:

unit Unit1;

interface

uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs;

type
TForm1 = class(TForm)
frxReport1: TfrxReport;
private
{ Private declarations }
public
{ Public declarations }
end;

var
Form1: TForm1;

implementation

{$R *.dfm}

end.


没有提示任何问题。


但是,打开 Delphi 10.3 ,新建一个 Windows VCL Application ,把 TfrxReport 组件拖入 Form 中,代码如下:

unit Unit1;

interface

uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, frxClass;

type
TForm1 = class(TForm)
frxReport1: TfrxReport;
private
{ Private declarations }
public
{ Public declarations }
end;

var
Form1: TForm1;

implementation

{$R *.dfm}

end.


偏偏这时候提示了 Cannot resolve unit name frxClass 这个问题。。。

应该怎么处理这种故障?

上一个版本 10.2.3 不是这样的。
...全文
524 2 打赏 收藏 转发到动态 举报
AI 作业
写回复
用AI写文章
2 条回复
切换为时间正序
请发表友善的回复…
发表回复
Frank.WU 2019-05-17
  • 打赏
  • 举报
回复
能编译通过吗?编译通过就没事,不管它,IDE 在发神经。 如果编译不过说明要将fastreport的单元路径加入库路径。
WindowsX 2019-05-13
  • 打赏
  • 举报
回复

5,927

社区成员

发帖
与我相关
我的任务
社区描述
Delphi 开发及应用
社区管理员
  • VCL组件开发及应用社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧