You obviously use managed C++ (.NET).
So why don't you try System.Diagnostics.Process.Start instead of trying to convert System.String to const char*
| CodeGuru Home | VC++ / MFC / C++ | .NET / C# | Visual Basic | VB Forums | Developer.com |
|
Results 1 to 9 of 9
Thread: Execute DOS commands in VC++Threaded View
|
Click Here to Expand Forum to Full Width |