wceload and cab desn't launch

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");
 
J

juju juju

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!!
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top