View Single Post
  #2  
Old 02-16-2006, 12:07 PM
kinook kinook is online now
Administrator
 
Join Date: 03-06-2001
Location: Colorado
Posts: 6,027
The attached sample demonstrates using WMI to check for multiple instances of VisBuildPro.exe and exiting the build if more than 1 are found (update the Project script code to use VisBuildCmd.exe if building with the console app). This doesn't check if the other instances are building (WMI doesn't provide window captions, otherwise you could check for '[building]' in the caption if building with the GUI app).
Attached Files
File Type: bld checkinstance.bld (904 Bytes, 803 views)
Reply With Quote