Remote Execution of a Pocket PC Executable

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance

From: Ismilar (ismilar_at_hotmail.com)
Date: 07/22/04


Date: 22 Jul 2004 06:45:07 -0700

Hello,
I need to remotely execute a program on a Windows CE device (a pocket
PC) from a desktop PC using Visual Basic 6. I am trying to use the
function CECreateProcess in the RAPI.dll, but I cannot get that to
work. My call is thus: CeCreateProcess(CESourceFile, "", 0, 0, False,
0, 0, 0, 0, lpProcessInformation) with CESourceFile being the path and
name of the executable on the WinCE device.
It goes right through that statement without returning an error, but
it doesn't actually run the program. I have CEReadFile, and most of
the other RAPI functions working, just not the CeCreateProcess.
Also, I would like the program on the PC to wait for the execution of
the WinCE executable to finish before going on.
Does anyone know how to use the CeCreateProcess properly, or know an
alternate method for running a remote WinCE program (and waiting for
it to finish)?

Thanks!

  Ismilar



Relevant Pages

  • Re: Remote Execution of a Pocket PC Executable
    ... you can't use CeCreateProcess to wait for the remote app to ... write a custom RAPI function to do it (which would be pretty simple, ... > I need to remotely execute a program on a Windows CE device (a pocket ... > the WinCE executable to finish before going on. ...
    (microsoft.public.pocketpc.developer)
  • Remote Execution of a Windows CE Program
    ... I need to remotely execute a program on a Windows CE device (a pocket ... just not the CeCreateProcess. ... the WinCE executable to finish before going on. ...
    (microsoft.public.windowsce.embedded.vb)
  • RE: Remote Execution of a Pocket PC Executable
    ... "Ismilar" wrote: ... > I need to remotely execute a program on a Windows CE device (a pocket ... > the WinCE executable to finish before going on. ...
    (microsoft.public.pocketpc.developer)
  • Re: cmd.exe / root.exe question
    ... You don't open a cmd shell from it, you execute it with the /c flag so it ... > Now tried to remotely execute it. ...
    (Focus-Microsoft)
  • Re: How do you do this?
    ... that you prefered to say that you want to remotely execute the ... program to be sent in source format. ... You really haven't redefined colon to mean remote execute as in: ... have sent the source code, you send PROGRAM to start execution. ...
    (comp.lang.forth)