?
Solved

delphi IDE code completion

Posted on 2002-04-10
8
Medium Priority
?
167 Views
Last Modified: 2010-04-04

I"m using delphi 5
recently the code completion isn't work properly.

When i press the [Ctrl]+ [Space] i got error message:

"Unable to invoke code complation due to errors in source code"

I know that there are no errors in code , since the compile pass without any problem .

thank u
asi
0
Comment
Question by:asi
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
8 Comments
 
LVL 3

Expert Comment

by:D-Master
ID: 6932590
hi

I think this is a bug in Delphi 5, coz since I started using it and this error "Unable to invoke code complation due to errors in source code" appears......

notice that when the source of the unit "Small" this error doesn't appear but if the source "Big" it appears :)

DM
0
 
LVL 6

Expert Comment

by:Stuart_Johnson
ID: 6932701
I don't get it on any of our stupidly huge units (15000+ lines).  Try doing a build instead of a compile and see if you get any errors then.  Maybe the error is nested in a unit which doesn't need compiling.
0
 
LVL 27

Expert Comment

by:kretzschmar
ID: 6933138
had also no problem with this,
and if i get such a message,
then there was also a little syntax-error,
means the message was correct

meikl ;-)
0
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 

Author Comment

by:asi
ID: 6933308
the strange is that after i get this message i"m doing a compile and then its looks like the code competion works.
But after i make a small change (like just press enter) i re-get this message.
Any way its not a solution to make every time compile just to active the code completion for a short time.
0
 
LVL 6

Accepted Solution

by:
Stuart_Johnson earned 200 total points
ID: 6933417
Mm.  Sounds like a classic case of uninstall and reinstall again.  Something's definately gone wrong..
0
 
LVL 8

Expert Comment

by:TOndrej
ID: 6944626
One case when this happens is when you invoke code completion on a unit which is not used by your currently active project (whether your project compiles or not).
0
 

Author Comment

by:asi
ID: 6949755
TOnDrej : this is not the case
0
 
LVL 1

Expert Comment

by:pnh73
ID: 9003082
No comment has been added lately, so it's time to clean up this TA.
I will leave a recommendation in the Cleanup topic area that this question is:

Accept Answer from Stuart Johnson

Please leave any comments here within the next seven days.
 
PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER!
 
Paul (pnh73)
EE Cleanup Volunteer
0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

A lot of questions regard threads in Delphi.   One of the more specific questions is how to show progress of the thread.   Updating a progressbar from inside a thread is a mistake. A solution to this would be to send a synchronized message to the…
Creating an auto free TStringList The TStringList is a basic and frequently used object in Delphi. On many occasions, you may want to create a temporary list, process some items in the list and be done with the list. In such cases, you have to…
Visualize your data even better in Access queries. Given a date and a value, this lesson shows how to compare that value with the previous value, calculate the difference, and display a circle if the value is the same, an up triangle if it increased…
Have you created a query with information for a calendar? ... and then, abra-cadabra, the calendar is done?! I am going to show you how to make that happen. Visualize your data!  ... really see it To use the code to create a calendar from a q…
Suggested Courses
Course of the Month10 days, 23 hours left to enroll

770 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question