[Webinar] Streamline your web hosting managementRegister Today

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 129
  • Last Modified:

MultiTasking

I have written an application that has to process about 30,000 files from hard disk, and write a new file for each one processed.  What happens is that it tends to lock up IExplorer, WExplorer, and other components on Win98 system until it has completed (usually about 15 minutes)  Is there a workaround it make it maybe run longer, but free up resources?
0
BackAlly
Asked:
BackAlly
1 Solution
 
BackAllyAuthor Commented:
Thanks for your help!
0
 
VbmasterCommented:
Use the DoEvents statements to free up CPU. You can also use the Sleep API in addition to the DoEvents to free up even more CPU.
0

Featured Post

The new generation of project management tools

With monday.com’s project management tool, you can see what everyone on your team is working in a single glance. Its intuitive dashboards are customizable, so you can create systems that work for you.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now