Call C++ programs from C# /WPF -
can point me full example of how run compiled c++ programs (executables) c#.
thanks in advance.
i think want that:
process myprocess = new process(); try { myprocess.startinfo.useshellexecute = false; // can start process; helloworld do-nothing example. myprocess.startinfo.filename = "c:\\helloworld.exe"; myprocess.startinfo.createnowindow = true; myprocess.start(); // code assumes process starting terminate itself. // given is started without window cannot terminate // on desktop, must terminate or can programmatically // application using kill method. } catch (exception e) { console.writeline(e.message); }
Comments
Post a Comment