DCUai储存时出现未知错误错误是啥意思

Sybase NNTP forums - End Of Life (EOL)
The NNTP forums from Sybase -
- are now closed. All new questions should be directed to the appropriate forum at the . Individual products have links to the respective forums on SCN, or you can go to
and search for your product in the search box (upper right corner) to find your specific developer center.
"F2048 Bad unit format"
F2048 Bad unit format
Last posting was on
I installed your new Advantage component for Delphi XE2.
I use Windows7 prof. 64bit, Delphi XE2, Advantage for DelphiXE2 64.
When I compile my Testprogram on 32-bit everything ok.
When I try 64-bit Windows I get the error:
[DCC Fatal Error] TestADS64.DPR(20): F2048 Bad unit format:
'DataADS.DCU' - Expected version: 23.0, Windows Unicode(x64) Found
version: 23.0, Windows Unicode(x86)
What went wrong?
Regards,
Frans
Hi Johan (or Frans),
& When I try 64-bit Windows I get the error:
& [DCC Fatal Error] TestADS64.DPR(20): F2048 Bad unit format:
& 'DataADS.DCU' - Expected version: 23.0, Windows Unicode(x64) Found
& version: 23.0, Windows Unicode(x86)
It looks like you're trying to link in the 32-bit .DCU files instead of
the 64-bit .DCU files...
& Regards,
Bob Swart Training & Consultancy () Forever Loyal to Delphi
Chairman Delphi Development Network (DDN) powered by SDN - www.sdn.nl
Reseller: Delphi & Embarcadero RAD Studio + Advantage Database Server
/eBob42 LinkedIn: /in/drbob42
Blog: /blog - RSS: /weblog.xml2017年1月 Delphi大版内专家分月排行榜第二2014年10月 Delphi大版内专家分月排行榜第二2014年9月 Delphi大版内专家分月排行榜第二
2015年8月 Delphi大版内专家分月排行榜第二2015年7月 Delphi大版内专家分月排行榜第二2014年8月 C++ Builder大版内专家分月排行榜第二2013年9月 C++ Builder大版内专家分月排行榜第二2013年6月 C++ Builder大版内专家分月排行榜第二2013年5月 C++ Builder大版内专家分月排行榜第二2013年4月 C++ Builder大版内专家分月排行榜第二2013年3月 C++ Builder大版内专家分月排行榜第二2012年9月 C++ Builder大版内专家分月排行榜第二2012年8月 C++ Builder大版内专家分月排行榜第二2012年3月 C++ Builder大版内专家分月排行榜第二2012年2月 C++ Builder大版内专家分月排行榜第二2011年7月 C++ Builder大版内专家分月排行榜第二
2014年7月 C++ Builder大版内专家分月排行榜第三2014年6月 C++ Builder大版内专家分月排行榜第三2013年8月 C++ Builder大版内专家分月排行榜第三2013年7月 C++ Builder大版内专家分月排行榜第三2013年1月 C++ Builder大版内专家分月排行榜第三2012年12月 C++ Builder大版内专家分月排行榜第三2012年11月 C++ Builder大版内专家分月排行榜第三2011年11月 C++ Builder大版内专家分月排行榜第三2011年8月 C++ Builder大版内专家分月排行榜第三2011年6月 C++ Builder大版内专家分月排行榜第三
匿名用户不能发表回复!|
每天回帖即可获得10分可用分!小技巧:
你还可以输入10000个字符
(Ctrl+Enter)
请遵守CSDN,不得违反国家法律法规。
转载文章请注明出自“CSDN(www.csdn.net)”。如是商业用途请联系原作者。Delphi教程:
Delphi控件:delphi - Dcu file not found - Stack Overflow
Join the Stack Overflow Community
Stack Overflow is a community of 6.9 million programmers, just like you, helping each other.
J it only takes a minute:
i have a problem compiling my Delphi code.
I have 3 classes, XmlFileManager (concrete), XmlNodeManager (abstract), XmlEnpManager (child of XmlNodeManager and concrete).
Below, a little of definition class code:
XmlFileManager
unit XmlFileM
xmldom, XMLIntf, msxmldom, XMLDoc, SysUtils, DateUtils, Classes, Dialogs,
XmlNodeManager, XmlEnpM
TXmlFileManager = class
XmlNodeManager
unit XmlNodeM
xmldom, XMLIntf, msxmldom, XMLDoc, SysUtils, DateUtils, Classes, Dialogs,
TXmlNodeManager = class
XmlEnpManager
unit XmlEnpM
xmldom, XMLIntf, msxmldom, XMLDoc, SysUtils, DateUtils, Classes, Dialogs,
XmlFileManager,
TXmlEnpManager = class (TXmlNodeManager)
In the XmlNodeManager and XmlEnpManager, not recognize TXmlFileManager class. An whe i compile, the compilation fails with message:
[dcc32 Fatal Error] SiGAS.dpr(23): F1026 File not found:
'XmlManager.dcu'
In the past, the XmlFileManager was called XmlManager.
Any ideas ?.
Main in 'forms\Main.pas' {Principal},
Globals in 'units\Globals.pas',
CrearProyectoForm in 'forms\CrearProyectoForm.pas' {NuevoProyecto},
Validadores in 'units\Validadores.pas',
IdiomaClass in 'units\IdiomaClass.pas',
IdiomaCastellanoClass in 'units\IdiomaCastellanoClass.pas',
ExcelFileManagerClass in 'units\ExcelFileManagerClass.pas',
SeleccionarIdioma in 'forms\SeleccionarIdioma.pas' {SelectLang},
EnpView in 'forms\EnpView.pas' {ENP},
EnpViewGeneric in 'forms\EnpViewGeneric.pas' {EnpGeneric},
Vcl.Themes,
Vcl.Styles,
EnpViewAdd in 'forms\EnpViewAdd.pas' {EnpAdd},
EnpViewAddAfter in 'forms\EnpViewAddAfter.pas' {EnpAddAfter},
EnpViewEdit in 'forms\EnpViewEdit.pas' {EnpEdit},
EnpInicial in 'forms\EnpInicial.pas' {ENPViewInicial},
XmlFileManager in 'units\XmlFileManager.pas',
XmlNodeManager in 'units\XmlNodeManager.pas',
XmlEnpManager in 'units\XmlEnpManager.pas';
Your main source file, SiGAS.dpr, still has it listed as XmlManager, so...
Open your *.dpr file (it is just Delphi code) and fix the unit name in the uses clause, then rebuild.
1,36631742
13.6k12344
Your Answer
Sign up or
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Post as a guest
By posting your answer, you agree to the
Not the answer you're looking for?
Browse other questions tagged
rev .25539
Stack Overflow works best with JavaScript enabledDelphi: Missing Dcu - Stack Overflow
Join the Stack Overflow Community
Stack Overflow is a community of 6.9 million programmers, just like you, helping each other.
J it only takes a minute:
[DCC Fatal Error] Unit1.pas(7): F1026 File not found: 'MyBitBtn.dcu'
Unit1 is a VCL Form for test purposes.
I have installed a design time package which contains a custom component that derived from TBitBtn. I can load the MyBitBtn in the Delphi IDE, load up the custom images I coded in design time and it seems like it works fine, at least visually. I get the above compile time error when I try to compile the test project.
I have a package group that has one design time package and one run time package. Design time package registers the component and Runtime package inherits the TBitBtn and has the custom code in it. The design time package contains the RunTime DCP file in the requires section.
The moment I insert the custom button on the test form, IDE creates the USES clause for MyBitBtn file. And that file apparently can't be found. Shouldn't that be part of the package installed?
Most probable you did not set 'Unit output directory' option in your runtime package, so package .dcu' I usually set it to $(BDSCOMMONDIR)\Dcp and have no problems.
Generally, the .dcu's of a runtime package should be available via global IDE library path if you want your package to be available to any project:
You should either use one of the existing paths or add your own.
22.9k249102
The design part works, but for run time, the compiler must be able to find the dcu.
You can do that either...
By adding the dcu folder to the library path of the IDE.
By adding the dcu folder to the search path of the project.
Or by adding the dcu explicitly to the project.
I would choose the first option. Since it's an installed component, you would want it to be available for any project, so setting the library path makes the most sense.
define the path where this dcu is stored in system environment. And dont forget to include it in Delphi env paths.
1,31831233
Go to ZEOS files, open packages, choose your version(DelphiXE10/Delphi7 ...) then go to the Win 32 file, open it and open Debug folder. Copy every thing, go to Program Files, Embarcadero, Studio, 17.0, lib, Win 32, Debug and paste, do the same in every win32 folder... Hope it helps :)
Your Answer
Sign up or
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Post as a guest
By posting your answer, you agree to the
Not the answer you're looking for?
Browse other questions tagged
rev .25539
Stack Overflow works best with JavaScript enabled}

我要回帖

更多关于 汽车dcu是什么意思 的文章

更多推荐

版权声明:文章内容来源于网络,版权归原作者所有,如有侵权请点击这里与我们联系,我们将及时删除。

点击添加站长微信