RunApp method of the class accepts two parameters: AppName and CommandLine.
Try the code calling various executables located inside \Windows directory on your PocketPC: Notes.exe, pxl.exe, sndplay.exe, tasks.exe, iexplore.exe, pword.exe etc.
* * *
At this point I am not aware how to terminate a remote process. There might be a way, I think, by using the CeRapiInvoke.
* * * CeRapiInvoke function, I am still struggling with, can be used to remotely execute routines in DLLs stored on Window CE device. This function accepts DLL and function names as parameters, as well as buffer with input parameters for the remote call and buffer for output parameters.
So far I was successful only in calling functions, which do not require input parameters, like Random and GetProcessHeap (both located in Coredll.dll) and similar to them. Hopefully I will be able to add this functionality to the class some time later.
* * *
This is how to create new email message on your Pocket PC:
cCmd=[-TO "firstname.lastname@example.org" -SUBJECT "Test message" ] +;
[-BODY "Wake up!"]
Note that the message will be stored in Drafts folder, not sent. Use other command line options: -CC, -BCC, -ATTACHMENT.