If you launch VisBuildCmd.exe via the CreateProcess [1] or related API and include the CREATE_NEW_PROCESS_GROUP flag, you could use the GenerateConsoleCtrlEvent [2] API to send it a CTRL_BREAK_EVENT. Otherwise, you would have to just terminate the process (for instance, using taskkill [3]).
[1]
http://msdn.microsoft.com/library/de...ateprocess.asp
[2]
http://msdn.microsoft.com/library/de...ectrlevent.asp
[3]
http://www.microsoft.com/resources/d....mspx?mfr=true