Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Borland ADO Components makes CPU run high

Posted on 2009-07-14
2
Medium Priority
?
461 Views
Last Modified: 2013-11-23
Hello Experts,

I have a strange situation that I'm hoping you can help with.
I have a application that used to work well and the problem did not exsist untill recently.

I have a borland project that uses the ADO components ie TADOQuery, TADOTable. If I open the project in borland builder 10 and i do not have of the pages that containes a ADO component open, then my CPU Usage is 00 and bounces up a little which is correct, but as soon as i open a form or unit which contains a ADO component then the cpu jumps to 99 percent.

I have been able to pin point it to the ADO Compont because if i delete the component then problem does not occure. I have tryed many things before this post, and all have failed. I have droped all connections to the DB, i have copied the components on the form and pasted it on a new form and still it occures, i have deleted the component and added a new one and changed the propetries and yet it still occures.

Thank you in advance,

Regards
0
Comment
Question by:WalterRautenbach
[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
2 Comments
 
LVL 2

Accepted Solution

by:
Morris_Szyslak earned 1000 total points
ID: 24847136
Does it occur in both, debug and release mode?
Do you link with runtime libs/packages?
Is it the same with a new application? If not, then there may be a conflict with defines of other includes.
0
 

Author Comment

by:WalterRautenbach
ID: 24847844
Hi Morris,

I actually solved the propblem myself by linking the RTL, it then worked. I then tested to see if it was to happen again so i removed the RTL and it still worked. So i cant get to the bottom of it all but seen that you were on the right road i will award you the points, thanks!!
0

Featured Post

Tech or Treat!

Submit an article about your scariest tech experience—and the solution—and you’ll be automatically entered to win one of 4 fantastic tech gadgets.

Question has a verified solution.

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

Update (December 2011): Since this article was published, the things have changed for good for Android native developers. The Sequoyah Project (http://www.eclipse.org/sequoyah/) automates most of the tasks discussed in this article. You can even fin…
Introduction I have seen many questions in this Delphi topic area where queries in threads are needed or suggested. I know bumped into a similar need. This article will address some of the concepts when dealing with a multithreaded delphi database…
THe viewer will learn how to use NetBeans IDE 8.0 for Windows to perform CRUD operations on a MySql database.
The viewer will learn how to use and create keystrokes in Netbeans IDE 8.0 for Windows.
Suggested Courses

610 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