I'm writing a program which runs regsvr32.exe with a command line argument to unregister certain items. My program runs the external program and then waits for it to close. But what I want to do is intercept data from the regsvr32.exe program while its running. In particular I would like to retrieve what is in the messagebox that pops up after unregistering.