944,054 Members | Top Members by Rank

Ad:
  • C++ Discussion Thread
  • Unsolved
  • Views: 3446
  • C++ RSS
Feb 9th, 2005
0

Borland compiler error

Expand Post »
In Borland C++ Builder 6, I used forms. I created a button and clicked on it. It went to the editor. I typed "form1. " waiting for autocomplete to work. But I got "error in source code". The source code was generated by the BDE. Why doesnt it work. I spent 2 hours downloading the file from borland site. :mad:
Similar Threads
Reputation Points: 15
Solved Threads: 1
Junior Poster
chound is offline Offline
143 posts
since Aug 2004
Feb 9th, 2005
0

Re: Borland compiler error

comment out the line, save and compile, uncomment.
Backspace over the period and retype, see if that clears it.

Sometimes it doesn't see that you're at work on the line still and (of course, as it's incomplete) reports a compiler error on it which prevents codeinsight from launching.
The procedure outlined above usually does the trick.

Of course it is possible that you actually have a typo in your own code, are you certain the form is indeed called form1 (lowercase f) for example?

P.S. there's a newer version available here: http://www.borland.com/products/down...cbuilderx.html C+ Builder 6 is an old product (plus the personal version of CBuilderX is I believe free of charge instead of a trial).
Team Colleague
Reputation Points: 1658
Solved Threads: 331
duckman
jwenting is offline Offline
7,719 posts
since Nov 2004
Feb 10th, 2005
0

Re: Borland compiler error

Quote originally posted by jwenting ...
P.S. there's a newer version available here: http://www.borland.com/products/down...cbuilderx.html C+ Builder 6 is an old product (plus the personal version of CBuilderX is I believe free of charge instead of a trial).
Now they tell me!!
Reputation Points: 15
Solved Threads: 1
Junior Poster
chound is offline Offline
143 posts
since Aug 2004
Dec 26th, 2008
-1

Re: Borland compiler error

Do like this: Form1->button1....or whatever .Use "->" instead of "."
Reputation Points: 10
Solved Threads: 0
Newbie Poster
spiriad is offline Offline
16 posts
since Sep 2006

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in C++ Forum Timeline: GUI?
Next Thread in C++ Forum Timeline: i could use some help in the binary seach tree





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC