Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Using wrong include file

0 views
Skip to first unread message

William Riley

unread,
Nov 27, 2006, 2:02:21 AM11/27/06
to
I am using BCB 6.0 personal edition. I have a project with several versions.
The different versions created by using the projec copy. The latest version
uses a file from 2 versions earlier. When building the latest version BCB it
includes a file from the earlier version instead of the latest version.
That is, say the project consists of unit1.cpp, unit1.h and extraFile.cpp
and extraFile.cpp includes unit1.h.
Unit1.cpp is copied from the previous version, changed and saved into the
newest version. ExtraFile.cpp is left in the 2nd previous version and has
not been save into any other later version.
When building the latest version and then compiling extraFile.cpp BCB
includes unit1.h from the 2nd previous version and not the latest, current
version.
This seems to be an obvious error in the BCB IDE. There are other files in
my project that are similar in version history as extraFile.cpp which also
include unit1.h but they compile with the correct version of unit1.h. Until
this problem happened I had not interaction with extraFile.cpp, it just
suddenly started happening. A very similar thing happened earlier; the
project compiled the current version of a *.cpp file and also the same file
from an earlier version. I am not sure how I cleared this problem but it was
OK after I recopied and restructed the files.
Can anyone explain what is happening, how to avoid the problem and fix my
current problems. I assume that editing the .bpr file can fix it but it
seems that it will be very difficult to understand it since I do not know
xml.

Thanks in advance,
Bill


Thomas Maeder [TeamB]

unread,
Nov 27, 2006, 11:32:44 AM11/27/06
to
"William Riley" <Willi...@verifone.com> writes:

> I am using BCB 6.0 personal edition.

Please direct your browser at http://info.borland.com/newsgroups/ and
read the newsgroup descriptions and guidelines. This will help you
find the appropriate newsgroup for your question.

C++ Builder newsgroups have .cppbuilder. in their name (as opposed to
C++BuilderX groups like this one, which have .cppbuilderx. in their name).

0 new messages