Program Terminator

The Terminator is a small program where you can specify a list of modules (either by path - or by name) that you want to terminate - no matter what...

Sometimes during development of large program systems - especially now in these COM/DCOM days - you need a simple way of shutting down all your running servers or program in order to start all over again. Going to task-list and terminating the processes there is sometimes inconvenient if not impossible at all.

This is where Terminator comes in the game...

You specify a list of modules you want to terminate with the Terminator User Interface. You can even save this list in a file (extension *.rip) !

Now, to kill all these specified modules either open your *.rip file in Terminator (or just double-click the file) and execute the termination. Alternatively you can call Terminator with a short-cut or via command-line: Terminator.exe /Automation <YourFile>.rip

As Terminator.exe needs microsofts PSAPI.DLL you need to make sure the dll is somewhere along your path (best is to put it in system32 right away). To build Terminator.exe you need to link to PSAPI.LIB; there is also a PSAPI.H header. So make sure .lib and .h are visible to your compiler/linker.

Enjoy beeing a Terminator!

Download source - 84KB

Date Posted: 07/05/98



Comments

  • programming terminator

    Posted by engineer malik naveed on 11/16/2012 09:49am

    too easy diffination to solve exam question an satifing cocept

    Reply
Leave a Comment
  • Your email address will not be published. All fields are required.

Top White Papers and Webcasts

  • Download the Information Governance Survey Benchmark Report to gain insights that can help you further establish business value in your Records and Information Management (RIM) program and across your entire organization. Discover how your peers in the industry are dealing with this evolving information lifecycle management environment and uncover key insights such as: 87% of organizations surveyed have a RIM program in place 8% measure compliance 64% cannot get employees to "let go" of information for …

  • Live Event Date: May 6, 2014 @ 1:00 p.m. ET / 10:00 a.m. PT While you likely have very good reasons for remaining on WinXP after end of support -- an estimated 20-30% of worldwide devices still are -- the bottom line is your security risk is now significant. In the absence of security patches, attackers will certainly turn their attention to this new opportunity. Join Lumension Vice President Paul Zimski in this one-hour webcast to discuss risk and, more importantly, 5 pragmatic risk mitigation techniques …

Most Popular Programming Stories

More for Developers

Latest Developer Headlines

RSS Feeds