Click here to Skip to main content
15,913,115 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
i tried to use
C++
process::start("/*path*/");


but i got this error
HTML
error C2653: 'process' : is not a class or namespace name
error C3861: 'start': identifier not found


am i missing a header or something ?
thanks in advance
Posted
Updated 11-Aug-12 6:06am
v4

1 solution

See the MSDN documentation which has an example:
http://msdn.microsoft.com/en-us/library/aa326951%28v=vs.71%29.aspx[^]
Code would look like:
Process::Start(S"notepad.exe");

It is case sensitive!! Also, make sure to add the using statement:
using namespace System::Diagnostics;
 
Share this answer
 
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900