Solved

madExcept thinks program is frozen when it clearly isn't

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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Introduction The parallel port is a very commonly known port, it was widely used to connect a printer to the PC, if you look at the back of your computer, for those who don't have newer computers, there will be a port with 25 pins and a small print…
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…
Michael from AdRem Software outlines event notifications and Automatic Corrective Actions in network monitoring. Automatic Corrective Actions are scripts, which can automatically run upon discovery of a certain undesirable condition in your network.…
Do you want to know how to make a graph with Microsoft Access? First, create a query with the data for the chart. Then make a blank form and add a chart control. This video also shows how to change what data is displayed on the graph as well as form…

691 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