How to redirect standard error at the same time set UseShellExecute to true?
Posted on 2008-06-23
I have a problem.
Does anyone know mk32 execution?
I am developing a GUI for mk32 cmd execution.
I need to get the standard error of mk32.exe, so I used the following codes:
ProcessObj.StartInfo.UseShellExecute = false;
ProcessObj.StartInfo.RedirectStandardError = true;
It was a success. However, when mk32.exe is compiling correctly, it gets "a dump file error. Win32 error 6". I think it is because of the UseShellExecute property.
How can I get the standard error at the same time set the UseShellExecute to true?
Thanks for your help.