Rev app 'not responding' under Vista, but fine in XP

Richard Gaskin ambassador at fourthworld.com
Wed Oct 7 11:34:03 EDT 2009


Martin Blackman wrote:
> Microsoft Vista is classifying my Rev application as 'Not responding'
> when it runs a particularly intensive handler. The title bar changes
> and screen updates cease. But the program is still working just fine
> underneath all that, and once the handler finishes Vista releases the
> stranglehold and updates the window.  However users may be
> understandably concerned and will not see the progress bar update
> normally shown by the program.
> This does not happen on XP, it seems that Vista is a little overzealous here.
> I believe Rev does its garbage collection after a handler finishes. So
> a big repeat loop could instead be changed to repeated calls to a sub
> handler.
> But I think this would add overhead and besides I'm struggling to
> think of a way to modify a couple of my problematic handlers in this
> fashion.  Has anyone here had any successful dealings with this issue?

Just a hunch, but I wonder if adding "wait 0 with messages" would free 
up enough clock cycles to let the OS feel more comfortable.

--
  Richard Gaskin
  Fourth World
  Rev training and consulting: http://www.fourthworld.com
  Webzine for Rev developers: http://www.revjournal.com
  revJournal blog: http://revjournal.com/blog.irv



More information about the use-livecode mailing list