Borland compiler error

Please support our C++ advertiser: Intel Parallel Studio Home
Reply

Join Date: Aug 2004
Posts: 140
Reputation: chound is an unknown quantity at this point 
Solved Threads: 1
chound chound is offline Offline
Junior Poster

Borland compiler error

 
0
  #1
Feb 9th, 2005
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:
Reply With Quote Quick reply to this message  
Join Date: Nov 2004
Posts: 6,143
Reputation: jwenting is just really nice jwenting is just really nice jwenting is just really nice jwenting is just really nice 
Solved Threads: 213
Team Colleague
jwenting's Avatar
jwenting jwenting is offline Offline
duckman

Re: Borland compiler error

 
0
  #2
Feb 9th, 2005
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).
Reply With Quote Quick reply to this message  
Join Date: Aug 2004
Posts: 140
Reputation: chound is an unknown quantity at this point 
Solved Threads: 1
chound chound is offline Offline
Junior Poster

Re: Borland compiler error

 
0
  #3
Feb 10th, 2005
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!!
Reply With Quote Quick reply to this message  
Join Date: Sep 2006
Posts: 16
Reputation: spiriad is an unknown quantity at this point 
Solved Threads: 0
spiriad spiriad is offline Offline
Newbie Poster

Re: Borland compiler error

 
-1
  #4
Dec 26th, 2008
Do like this: Form1->button1....or whatever .Use "->" instead of "."
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:


Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC