Solved

Borland ADO Components makes CPU run high

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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

In our object-oriented world the class is a minimal unit, a brick for constructing our applications. It is an abstraction and we know well how to use it. In well-designed software we are not usually interested in knowing how objects look in memory. …
In this tutorial I will show you how to use the Windows Speech API in Delphi. I will only cover basic functions such as text to speech and controlling the speed of the speech. SAPI Installation First you need to install the SAPI type library, th…
This tutorial covers a step-by-step guide to install VisualVM launcher in eclipse.
THe viewer will learn how to use NetBeans IDE 8.0 for Windows to perform CRUD operations on a MySql database.

690 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