Solved

madExcept thinks program is frozen when it clearly isn't

Posted on 2003-11-06
3
254 Views
Last Modified: 2010-04-05
With the freeze timeout set at 60 seconds, the error comes up.  If I change it to 90 seconds it seems OK.  The confusing
thing is that the system has a TTimer running all the time, changing a banner to show the program is busy.  There is another thread doing all the work.  This is our security sub-system, so it is quite slow because of the complex encryption we use.  We decrypt three records, send them back to the client and then do the next three.

Is there a way to set the timeout higher in code and then after this, set it back to a lower setting.  Is there a problem with the main thread being quite and not realizing that a second thread is doing all the work?  I am just trying the product out and hoping to get some insight on the problem.
0
Comment
Question by:bsstmiller
3 Comments
 
LVL 20

Accepted Solution

by:
Madshi earned 20 total points
ID: 9797629
Have we talked about this on the newsgroups already?

If not, here's the solution:

(1) Either increase the timeout.
(2) Or call "ImNotFrozen" between the 3 records.
(3) Or disable the anti freeze checking.

Btw, just a few days I've released madExcept 2.6a:

http://madshi.net/madCollection.exe
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

Creating an auto free TStringList The TStringList is a basic and frequently used object in Delphi. On many occasions, you may want to create a temporary list, process some items in the list and be done with the list. In such cases, you have to…
Introduction Raise your hands if you were as upset with FireMonkey as I was when I discovered that there was no TListview.  I use TListView in almost all of my applications I've written, and I was not going to compromise by resorting to TStringGrid…
Concerto provides fully managed cloud services and the expertise to provide an easy and reliable route to the cloud. Our best-in-class solutions help you address the toughest IT challenges, find new efficiencies and deliver the best application expe…
A company’s greatest vulnerability is their email. CEO fraud, ransomware and spear phishing attacks are the no1 threat to a company’s security. Cybercrime is responsible for the largest loss of money to companies today with losses projected to r…

919 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

15 Experts available now in Live!

Get 1:1 Help Now