[Error] Unit1.pas(130): Declaration of 'FileSaveAs' differs from previous declaration
[Error] Unit1.pas(135): Incompatible types: 'Integer' and 'TFileName'
[Error] Unit1.pas(203): Undeclared identifier: 'boldbutton'
[Error] Unit1.pas(203): Missing operator or semicolon
[Error] Unit1.pas(204): Undeclared identifier: 'italicbutton'
[Error] Unit1.pas(204): Missing operator or semicolon
[Error] Unit1.pas(205): Undeclared identifier: 'underlinebutton'
[Error] Unit1.pas(205): Missing operator or semicolon
[Error] Unit1.pas(206): Undeclared identifier: 'bulletsbutton'
[Error] Unit1.pas(206): Missing operator or semicolon
[Error] Unit1.pas(207): Undeclared identifier: 'fontsize'
[Error] Unit1.pas(208): Undeclared identifier: 'fontname'
[Error] Unit1.pas(210): Undeclared identifier: 'leftalign'
[Error] Unit1.pas(211): Undeclared identifier: 'rightalign'
[Error] Unit1.pas(211): Missing operator or semicolon
[Error] Unit1.pas(212): Undeclared identifier: 'centeralign'
[Error] Unit1.pas(212): Missing operator or semicolon
[Error] Unit1.pas(224): Undeclared identifier: 'em_exlinefromchar'
[Error] Unit1.pas(225): Undeclared identifier: 'selstaet'
[Hint] Unit1.pas(67): Private symbol 'FilePrint' declared but never used
[Fatal Error] Project1.dpr(5): Could not compile used unit 'Unit1.pas'

解决方案 »

  1.   

    tfilename ---char
    太多--你是不是把UNIT1.PAS中的什么删掉了
      

  2.   

    Undeclared identifier:
    变量没有定义。
      

  3.   

    Undeclared identifier: 
    是未定义
      

  4.   

    Declaration of 'FileSaveAs' differs from previous declaration
    1错误编译器发现了FileSaveAs是无效声明?
    2也许删除或忽略一些必要的东西 比如 从动库中删除了Begin 或 end?
    3是不是将一个Finalization部分添加到单元中,但没提供Initialization部分?
    Incompatible types: 'Integer' and 'TFileName'
    1类型不匹配 TFileName 应该是string 不是Integer!
    Undeclared identifier: 'boldbutton'
    1你引用一个单元中的对象、过程、函数,但在uses没有找到调用单元
    2指定一个值给一个根本没声明的变量,或者没有在作用域中
    3可能是你为单元接口(interface)部分的前置一个类名。
    4声明里或者在实现部分拼错了表示符。
    5也有可能是你访问其他单元或类中Private部分的内容
    Missing operator or semicolon
    这个是你使用的$IFDEF,$IFNDEF,$IFORT编译指令没有对应的结束指令($ENDIF)
    Could not compile used unit 'Unit1.pas'
    这句不用说了吧!结合以上错误信息 得到 最终信息 哈哈~~~~~~~~~~~~~~~~~~~
    还有重复部分就不说!你一定是在装控件 呵呵~~ 问题多多 错误多多~~ 只好受苦了!呵呵~~
      

  5.   

    其实装太多控件不好!它们的性能是未知的,挨个看看不起 太多!经典的装几个好了。比如Rxlib 就GIF不错!其它的一般,不过Dx是一定要装的!装太多了Delphi跑起来慢的向乌龟……