Solved

Borland ADO Components makes CPU run high

Posted on 2009-07-14
2
457 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 500 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

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!

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…
How to install Selenium IDE and loops for quick automated testing. Get Selenium IDE from http://seleniumhq.org Go to that link and select download selenium in the right hand columnThat will then direct you to their download page.From that page s…
This tutorial covers a step-by-step guide to install VisualVM launcher in eclipse.
The viewer will learn how to use and create keystrokes in Netbeans IDE 8.0 for Windows.

733 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