I decided this morning to teach myself C++ \o/... 6 hours later Im just about ready to throw in the towel :)
Anyways I have a minor annoyance you good ppl might be able to help me with.
I created a simple code to open a .exe file in C# wich work fine (all hail C# :P)
Expand|Select|Wrap|Line Numbers
- System.Diagnostics.Process proc;
- proc = System.Diagnostics.Process.Start(@"C:\dotnetfx.exe");
- proc.WaitForExit();
- MessageBox.Show("omg");
And now for the problem.
I tried to do the same thing in C++
Expand|Select|Wrap|Line Numbers
- System::Diagnostics::Process proc;
- proc.Start("C:\\dotnetfx.exe");
- proc.WaitForExit();
- MessageBox::Show("omgOMG");
I tried
Expand|Select|Wrap|Line Numbers
- proc = System::Diagnostics::Process::Start("C:\\dotnetfx.exe")
Anybody know what to do?