Solved

Borland ADO Components makes CPU run high

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Intraweb download file link ? 1 110
Best free Visio Editor? 2 141
QRReport  TQrmemo vertical stretching 1 42
Delphi and Access based Enumeration 9 48
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…
Have you ever had your Delphi form/application just hanging while waiting for data to load? This is the article to read if you want to learn some things about adding threads for data loading in the background. First, I'll setup a general applica…
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.

863 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

Need Help in Real-Time?

Connect with top rated Experts

23 Experts available now in Live!

Get 1:1 Help Now