Sample: Watchdog to terminate orphaned VSTA process

 

This is an IPH sample, IPHTerminateOrphanedVSTA.   It uses a global mutext to start one, and only one, simple observer thread. The observer thread continues to execute while the vsta process is alive, whether or not a project is open.. The observer thread periodically checks for existence of the hostProcess. If there is no hostProcess running, and there is an orphaned vsta.exe, the observer thread shuts down the orphan vsta process before exiting. The IPH allows opening the VSTA as a standlone IDE (observer thread is not started).


Posted Sep 26 2008, 02:43 PM by Gary
Copyright Summit Software Company, 2008. All rights reserved.