【问题标题】:F1026 File not found: 'Ucommon.dcu' [closed]F1026 文件未找到:“Ucommon.dcu”[关闭]
【发布时间】:2015-07-26 14:20:14
【问题描述】:

我创建了我使用的简单的 delphi 程序
MTable 调试时出现此错误

中的 m_table 和标志

[DCC 错误] Data.pas(7): F1026 File not found: 'Ucommon.dcu'

【问题讨论】:

    标签: delphi delphi-7


    【解决方案1】:

    错误消息告诉您名为 Data 的单元使用另一个名为 Ucommon 的单元,并且编译器无法找到 .pas 源文件或为 Ucommon 编译的 .dcu 单元。

    您需要确保编译器可以访问Ucommon。通常这意味着:

    1. Ucommon.pas 添加到项目中,或者
    2. 将包含Ucommon.pas 的目录添加到项目的搜索路径中。

    【讨论】:

    • 如何将 ucommon.pas 添加到我的项目中?
    • 在项目菜单上选择添加。
    • 我的水晶球今天不工作了。不过说真的,这是你的代码,不是我的。我不能告诉你你把代码放在哪里。
    • 转到 Delphi 驱动器根目录下的 Cmd 提示符并键入“dir ucommon.* /s [Return]”。是否显示 UCommon.Dcu 或 UCommon.Pas?
    • @user3420275 uCommon.pas 在 Delphi 中不是常用单位。你从其他地方得到了这个单元,或者你从其他地方得到了data.pas,但不是uCommon.pas 单元。
    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2023-03-31
    • 1970-01-01
    • 1970-01-01
    • 2015-02-20
    相关资源
    最近更新 更多