[DllImport("rapi.dll", CharSet=CharSet.Unicode)]
public static extern int CeCreateProcess(
string applicationName,
string commandLineArgs,
long dwNull0,
long dwNull1,
bool False,
long dwCreationFlags,
long dwNull2,
long dwNull3,
long dwNull4,
PROCESS_INFORMATION processInfo);
struct PROCESS_INFORMATION
{
public int hProcess;
public int hThread;
public int dwProcessId;
public int dwThreadId;
}
function info on msdn at http://msdn.microsoft.com/library/default.asp?url=/library/en-us/wceactsy/html/cerefCeCreateProcessRAPI.asp
Please add some!
CeCreateProcess("myapp.exe","",0,0,false,0,0,0,0,new PROCESS_INFORMATION());