interfaceuses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, Borland.Vcl.Grids, Borland.Vcl.DBGrids, Borland.Vcl.Db,
System.ComponentModel, Borland.Vcl.DBTables, Borland.Vcl.StdCtrls,
Borland.Vcl.StdCtrls,form2;type
TForm1 = class(TForm)
Query1: TQuery;
DataSource1: TDataSource;
DBGrid1: TDBGrid;
Button1: TButton;
procedure Button1Click(Sender: TObject);
报错
[Warning] Ptry3.dpr(20): Unit 'Borland.Vcl.Forms' is specific to a platform
[Warning] try31.pas(6): Unit 'Borland.Vcl.Windows' is specific to a platform
[Warning] try31.pas(6): Unit 'Borland.Vcl.Messages' is specific to a platform
[Warning] try31.pas(6): Unit 'Borland.Vcl.Graphics' is specific to a platform
[Warning] try31.pas(6): Unit 'Borland.Vcl.Controls' is specific to a platform
[Warning] try31.pas(6): Unit 'Borland.Vcl.Forms' is specific to a platform
[Warning] try31.pas(7): Unit 'Borland.Vcl.Dialogs' is specific to a platform
[Warning] try31.pas(7): Unit 'Borland.Vcl.Grids' is specific to a platform
[Warning] try31.pas(7): Unit 'Borland.Vcl.DBGrids' is specific to a platform
[Warning] try31.pas(8): Unit 'Borland.Vcl.DBTables' is specific to a platform
[Warning] try31.pas(8): Unit 'Borland.Vcl.StdCtrls' is specific to a platform
[Warning] try31.pas(9): Unit 'Borland.Vcl.StdCtrls' is specific to a platform
[Error] try31.pas(9): Identifier redeclared: 'Borland.Vcl.StdCtrls'
[Fatal Error] try31.pas(9): File not found: 'form2.dcuil'
请问错误是什么原因?
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, Borland.Vcl.Grids, Borland.Vcl.DBGrids, Borland.Vcl.Db,
System.ComponentModel, Borland.Vcl.DBTables, Borland.Vcl.StdCtrls,
Borland.Vcl.StdCtrls,form2;type
TForm1 = class(TForm)
Query1: TQuery;
DataSource1: TDataSource;
DBGrid1: TDBGrid;
Button1: TButton;
procedure Button1Click(Sender: TObject);
报错
[Warning] Ptry3.dpr(20): Unit 'Borland.Vcl.Forms' is specific to a platform
[Warning] try31.pas(6): Unit 'Borland.Vcl.Windows' is specific to a platform
[Warning] try31.pas(6): Unit 'Borland.Vcl.Messages' is specific to a platform
[Warning] try31.pas(6): Unit 'Borland.Vcl.Graphics' is specific to a platform
[Warning] try31.pas(6): Unit 'Borland.Vcl.Controls' is specific to a platform
[Warning] try31.pas(6): Unit 'Borland.Vcl.Forms' is specific to a platform
[Warning] try31.pas(7): Unit 'Borland.Vcl.Dialogs' is specific to a platform
[Warning] try31.pas(7): Unit 'Borland.Vcl.Grids' is specific to a platform
[Warning] try31.pas(7): Unit 'Borland.Vcl.DBGrids' is specific to a platform
[Warning] try31.pas(8): Unit 'Borland.Vcl.DBTables' is specific to a platform
[Warning] try31.pas(8): Unit 'Borland.Vcl.StdCtrls' is specific to a platform
[Warning] try31.pas(9): Unit 'Borland.Vcl.StdCtrls' is specific to a platform
[Error] try31.pas(9): Identifier redeclared: 'Borland.Vcl.StdCtrls'
[Fatal Error] try31.pas(9): File not found: 'form2.dcuil'
请问错误是什么原因?
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货