| 网站首页 | 业界新闻 | 小组 | 威客 | 人才 | 下载频道 | 博客 | 代码贴 | 在线编程 | 编程论坛
欢迎加入我们,一同切磋技术
用户名:   
 
密 码:  
共有 5845 人关注过本帖
标题:.dcu 存在于同一个文件夹,但运行的时候提示file not found ‘ ***.dcu ’
取消只看楼主 加入收藏
hgc2008
Rank: 1
等 级:新手上路
帖 子:12
专家分:0
注 册:2008-10-16
收藏
 问题点数:0 回复次数:4 
.dcu 存在于同一个文件夹,但运行的时候提示file not found ‘ ***.dcu ’
问题补充: 所有.dcu 文件都存在于同一个文件夹内,但delphi7 编译的时候总是提示
    [Fatal Error] MAIN.PAS(7): File not found: 'registerMember.dcu'
[Fatal Error] MAIN.PAS(7): File not found: 'registerMember.dcu'
[Fatal Error] MAIN.PAS(7): File not found: 'registerMember.dcu'

 急死我啦,请求高手出手相助。
搜索更多相关主题的帖子: dcu found file not 提示 
2008-10-17 11:05
hgc2008
Rank: 1
等 级:新手上路
帖 子:12
专家分:0
注 册:2008-10-16
收藏
得分:0 
感谢楼上的回答。
    registerMember 是我自己编写的单元名字。而且.dcu 文件也存在于同一个目录下,就是编译时候提示找不到。
2008-10-17 11:12
hgc2008
Rank: 1
等 级:新手上路
帖 子:12
专家分:0
注 册:2008-10-16
收藏
得分:0 
感谢楼上的热心人相助,

program Mdiapp;

uses
  Forms,
  MAIN in 'MAIN.PAS' {MainForm},
  CHILDWIN in 'CHILDWIN.PAS' {MDIChild},
  about in 'about.pas' {AboutBox},
  registerMember in 'registerMember.pas' {frmRegisterMember},
  registerEmployee in 'registerEmployee.pas' {frmRegisterEmployee},
  registerArticle in 'registerArticle.pas' {frmRegisterArticle},
  transaction in 'transaction.pas' {frmTransaction},
  queryMember in 'queryMember.pas' {frmQueryMember},
  consumptionInfo in 'consumptionInfo.pas' {frmConsumptionInfo},
  queryEmployee in 'queryEmployee.pas' {frmQueryEmployee},
  changePwd in 'changePwd.pas' {frmChangePwd},
  registerCompany in 'registerCompany.pas' {frmRegisterCompany},
  authorization in 'authorization.pas' {frmAuthorization},
  logIn in 'logIn.pas' {frmLogIn},
  addUser in 'addUser.pas' {frmAddUser},
  addBalance in 'addBalance.pas' {frmAddBalance},
  addGoods in 'addGoods.pas' {frmAddGoods},
  dataModule in 'dataModule.pas' {dm: TDataModule},
  changeMember in 'changeMember.pas' {frmChangeMember},
  deleteMember in 'deleteMember.pas' {frmDeleteMember},
  consumptionSum in 'consumptionSum.pas' {frmConsumptionSum},
  queryBalance in 'queryBalance.pas' {frmQueryBalance},
  queryDeficiency in 'queryDeficiency.pas' {frmQueryDeficiency},
  changeEmployee in 'changeEmployee.pas' {frmChangeEmployee},
  deleteEmployee in 'deleteEmployee.pas' {frmDeleteEmployee},
  queryAchievement in 'queryAchievement.pas' {frmQueryArchievement},
  querySale in 'querySale.pas' {frmQuerySale},
  queryArticle in 'queryArticle.pas' {frmQueryArticle},
  changeGoods in 'changeGoods.pas' {frmChangeGoods},
  deleteGoods in 'deleteGoods.pas' {frmDeleteGoods};
2008-10-17 11:56
hgc2008
Rank: 1
等 级:新手上路
帖 子:12
专家分:0
注 册:2008-10-16
收藏
得分:0 
unit MAIN;

interface

uses Windows, SysUtils, Classes, Graphics, Forms, Controls, Menus,
  StdCtrls, Dialogs, Buttons, Messages, ExtCtrls, ComCtrls, StdActns,
  ActnList, ToolWin, ImgList,logIn,registerMember,registerEmployee,
  registerArticle,transaction,queryMember,consumptionInfo,
  consumptionSum,queryBalance,queryDeficiency,queryEmployee,
  queryAchievement,queryArticle,querySale,changePwd,registerCompany,
  authorization,addBalance;
uses  后面的单元从registerMember开始都提示 file not  found ‘*.dcu’
2008-10-17 11:59
hgc2008
Rank: 1
等 级:新手上路
帖 子:12
专家分:0
注 册:2008-10-16
收藏
得分:0 
感谢
感谢楼上朋友相助,不过错误依然。
2008-10-17 22:53
快速回复:.dcu 存在于同一个文件夹,但运行的时候提示file not found ‘ ***.dc ...
数据加载中...
 
   



关于我们 | 广告合作 | 编程中国 | 清除Cookies | TOP | 手机版

编程中国 版权所有,并保留所有权利。
Powered by Discuz, Processed in 0.018331 second(s), 8 queries.
Copyright©2004-2024, BCCN.NET, All Rights Reserved