Click here to Skip to main content
65,938 articles
CodeProject is changing. Read more.
Articles
(untagged)

A utility to stagger processes at Windows Startup

0.00/5 (No votes)
13 Apr 2000 1  
This utility uses very little system resources to launch apps base on a timer.
  • Download source files - 18 Kb
  • Introduction

    StartProcessesInOrder.exe is a utility for starting a number of processes at staggered time interval during Windows startup.

    This utility was written to meet the needs of my companies servers. The servers start several COM based applications during startup. Launching them all together sometimes resulted in initialization errors as well as delaying mission critical processes while they competed for resources with less important processes.

    The utility is simple, it uses an ini file to define what processes are to be submitted. Then it uses a timer to submit the processes at staggered intervals. The utility uses very little system resources to do its work.

    The utility consist of two main functions.

    1. LoadProcesses which loads items from StartProcessesInOrder.ini (sample in zip)
    2. LaunchProcesses which submits processes when appropriate

    It does not check to see if a process started, it does check to see if the exe existed before submitting it.

    Note. This code was not plagiarized from any other source. I maintain no rights or restrictions upon it. The source was written in VC 5.0.

    License

    This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.

    A list of licenses authors might use can be found here