wceload and cab desn't launch

  • Thread starter Thread starter wavemill
  • Start date Start date
W

wavemill

I would like launch my cab by code.
I have create a button, and i use this code.When i click my cab doesn't start.
If you have a solution or if you know a tutorial!

best regards!


[DllImport("coredll.Dll")]
private static extern int CreateProcess(string strImageName, string strCmdLine);

public class ProcessInfo
{
public int Process;
public int Thread;
public int ProcessID;
public int ThreadID;
}

ProcessInfo pi = new ProcessInfo();
CreateProcess(@"\windows\wceload.exe","\\My Documents\\MyProg_PPC.ARM");
 
Hello,

thanks for your answer!

I have find a last post of you in opennetcf.org
in fact , i have lost .cab and i have add "\

Now it's ok!

CreateProcess(@"\windows\wceload.exe","\"\\My
Documents\\MyProg_PPC.ARM"");

great thanks!!
 
Back
Top