Solved

madExcept thinks program is frozen when it clearly isn't

Posted on 2003-11-06
3
259 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
[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
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

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

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

Suggested Solutions

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…
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…
Are you ready to implement Active Directory best practices without reading 300+ pages? You're in luck. In this webinar hosted by Skyport Systems, you gain insight into Microsoft's latest comprehensive guide, with tips on the best and easiest way…

726 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