Solved

Borland ADO Components makes CPU run high

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

Live: Real-Time Solutions, Start Here

Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

Question has a verified solution.

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

Programmer's Notepad is, one of the best free text editing tools available, simply because the developers appear to have second-guessed every weird problem or issue a programmer is likely to run into. One of these problems is selecting and deletiā€¦
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 synchronize PHP projects with a remote server in NetBeans IDE 8.0 for Windows.

816 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

11 Experts available now in Live!

Get 1:1 Help Now