Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Need help with API

Status
Not open for further replies.

KullTheAtlantis

Programmer
Sep 24, 2004
2
US
Hi! It is my first post here. Since a long time I have a huge problem: whenever I execute a long computational algorithm from let's say child window I'm unable to maximize, minimize or in general I don't have control on any open window either main or other child. My PowerBuildr application just freezes for as long as algorithm finishes. Is it a normal behavior? Is it any way around it?
I'll really appreciate any help.

Kull
 
Include calls to yield() function in your long computational algorithm. From PB Help,"Include Yield within a loop so that other processes can happen. For example, use Yield to allow end users to interrupt a loop.
 
Except Yield try something different.If yoy want to rum the algorithm anyway and still want to work in your application try to use SharedObjectGet,SharedObjectRegister,SharedObjectUnregister.There are examples in PB help

Zkar Programmer
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top