100分:在写一个VCL时,编译dpk的时候出错以下错误(100分)

  • 主题发起人 主题发起人 二泉.net
  • 开始时间 开始时间

二泉.net

Unregistered / Unconfirmed
GUEST, unregistred user!
该VCL是在panel上放四个button,实现上下翻页的功能:
引用的单元文件有: Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
StdCtrls,Buttons,extctrls,Math;

[Warning] Unit 'Buttons' implicitly imported into package 'erquan'
[Warning] Unit 'ExtCtrls' implicitly imported into package 'erquan'
[Warning] Unit 'StdCtrls' implicitly imported into package 'erquan'
[Warning] Unit 'ActnList' implicitly imported into package 'erquan'
[Warning] Unit 'ImgList' implicitly imported into package 'erquan'
[Warning] Unit 'Forms' implicitly imported into package 'erquan'
[Warning] Unit 'StdActns' implicitly imported into package 'erquan'
[Warning] Unit 'Clipbrd' implicitly imported into package 'erquan'
[Warning] Unit 'Dialogs' implicitly imported into package 'erquan'
[Warning] Unit 'Printers' implicitly imported into package 'erquan'
[Warning] Unit 'WinHelpViewer' implicitly imported into package 'erquan'
[Warning] Unit 'Controls' implicitly imported into package 'erquan'
[Warning] Unit 'Menus' implicitly imported into package 'erquan'
[Warning] Unit 'Graphics' implicitly imported into package 'erquan'
[Warning] Unit 'Consts' implicitly imported into package 'erquan'
[Error] WARNING. Duplicate resource(s):
[Error] Type 14 (ICON GROUP), ID MAINICON:
[Error] File F:/DELPHI程序/DataNavigator/erquan.res resource kept; file erquan.res resource discarded.
[Error] Type 16 (VERSIONINFO), ID 1:
[Error] File F:/DELPHI程序/DataNavigator/erquan.res resource kept; file erquan.res resource discarded.


是什么地方导至了这些warning和Error?
尤其是这些Error,我可是第一次碰到呢…
 
在工程中删除两个res即可.
 
为什么呢?
删除了,还是报那样的错误~~
 
你的 {$RES *.*}
可能有多余的。
 
刚才听scxby兄的建议,已经将一个.RES给删除了
还是那样的问题…
 
重复包含了资源文件
 
后退
顶部