Article View: borland.public.delphi.commandlinetools
Article #306Re: Problem: DCC32 (D5) Won't Find CONTROL.RES and other Delphi Files
From: Brandon Smith
Date: Mon, 08 Nov 2004 02:27
Date: Mon, 08 Nov 2004 02:27
38 lines
2077 bytes
2077 bytes
"DP" <noemailreply@please.com> wrote in news:418a922b$1@newsgroups.borland.com: > Hello, > > I use DCC32 (D5) to build the project in a batch process. Something in your paths is no longer correct. The IDE is ok because it can use the BPL that contains the components that need controls.res and so forth. The DCC32 can't use the BPL, needs the .dcu or .pas files, which it normally finds in the path your should have in there for \Library (or something like that, don't recall just what the name was in D5). Another possibility, again I don't remember how D5 did it, is that DCC was in fact using the Windows PATH environment variable to find these files (i.e. the dcu or the pas and res files). Happy detecting! > All worked fine, but agter next set of changes to the source (and > maybe, to the Windows/Delphi environment also), the command-line > compiler became unable to compile the project. > The error messages are: > Error: File not found: 'CONTROLS.RES' > Same for BUTTONS.RES, DBCTRLS.RES, etc. > > Exactly the same project compiles normally from IDE. > The test project compiles by DCC32 normally. > > What could be wrong? What and where to fix? > > Thank you, > DP > > > >
Technical Details
Message-ID:
<Xns959ADABAC9221Brandonsynaturecom@207.105.83.66>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news.glorb.com!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mailReferences:
<418a922b$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: ff8f1,21920c48f7146c8b X-Google-Attributes: gidff8f1,public X-Google-Language: ENGLISH,ASCII-7-bit Newsgroups: borland.public.delphi.commandlinetools Subject: Re: Problem: DCC32 (D5) Won't Find CONTROL.RES and other Delphi Files From: Brandon Smith <redwoodtwig@yahoo.com> References: <418a922b$1@newsgroups.borland.com> Organization: synature Message-ID: <Xns959ADABAC9221Brandonsynaturecom@207.105.83.66> User-Agent: Xnews/5.04.25 NNTP-Posting-Host: 207.43.186.103 Date: 7 Nov 2004 19:27:37 -0700 X-Trace: newsgroups.borland.com 1099884457 207.43.186.103 (7 Nov 2004 19:27:37 -0700) Lines: 39 Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news.glorb.com!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail