Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

madExcept thinks program is frozen when it clearly isn't

Posted on 2003-11-06
3
Medium Priority
?
265 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
1 Comment
 
LVL 20

Accepted Solution

by:
Madshi earned 80 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: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone 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

This article explains how to create forms/units independent of other forms/units object names in a delphi project. Have you ever created a form for user input in a Delphi project and then had the need to have that same form in a other Delphi proj…
Hello everybody This Article will show you how to validate number with TEdit control, What's the TEdit control? TEdit is a standard Windows edit control on a form, it allows to user to write, read and copy/paste single line of text. Usua…
this video summaries big data hadoop online training demo (http://onlineitguru.com/big-data-hadoop-online-training-placement.html) , and covers basics in big data hadoop .
Is your data getting by on basic protection measures? In today’s climate of debilitating malware and ransomware—like WannaCry—that may not be enough. You need to establish more than basics, like a recovery plan that protects both data and endpoints.…

783 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