Solved

madExcept thinks program is frozen when it clearly isn't

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

ScreenConnect 6.0 Free Trial

Check out the updates in one game-changing release, ScreenConnect 6.0, based on partner feedback. New features include a redesigned UI that improves session organization and overall user experience. See the enhancements for yourself!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Delphi: how to implement a User Shortcut mapper? 1 110
Show Listview image from database (String field) 5 124
Magic Software info 18 130
how to change, disabled button color FMX ? 1 32
A lot of questions regard threads in Delphi.   One of the more specific questions is how to show progress of the thread.   Updating a progressbar from inside a thread is a mistake. A solution to this would be to send a synchronized message to the…
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…
This Micro Tutorial demonstrates using Microsoft Excel pivot tables, how to reverse engineer competitors' marketing strategies through backlinks.
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

770 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