Alors, je suis une débutante. j'ai voulu executer un .exe en c à partir d'une interface c#, j'ai alors écris ce code :
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
Process MyProcess = new Process();
            MyProcess.StartInfo = new ProcessStartInfo(@"c:\compil2.exe");
            MyProcess.StartInfo.UseShellExecute = false;
            MyProcess.StartInfo.RedirectStandardOutput = true;
            MyProcess.Start();
            this.textBox1.Text = MyProcess.StandardOutput.ReadToEnd();
mais en compilant ca n'accepte pas la déclaration du processus.
Pouvez vous m'aidez SVP?