Click here to Skip to main content
15,891,248 members
Articles / Programming Languages / C++
Article

A utility to stagger processes at Windows Startup

Rate me:
Please Sign up or sign in to vote.
1.50/5 (2 votes)
13 Apr 2000 50.1K   772   15   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


    Written By
    United States United States
    This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.

    Comments and Discussions

     
    QuestionCan it do more? Pin
    Autumn19-Apr-00 12:48
    Autumn19-Apr-00 12:48 

    General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

    Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.