From: Konovalov, V. <vko...@sp...> - 2004-05-27 05:50:54
|
> I am testing one x86 kit targetted for pocket PC > having os wince 4.2. my host machine is Windows XP. > From host machine one client perl script will run > which in trun call one perl module in server(target) > through SOAP::Lite. > > For this i have build perl binary distribution for > wince 4.2 through cross compile according to > http:\\perlce.sourceforge.net. I gained access to a device equipped with wince4.2 recently. I found out that existing binaries are working, so you probably do not need to do recompilation. However, if you do recompiling, its okay. > > Communication between wince and winxp throgh > SOAP::Lite is ok.I can execute test on wince from > winxp. Nice to hear this. BTW desktop tools from Rainer Keuchel also contain an executable to run on Windows which makes WinCE device to execute some binary. This is actually one single call however. > > Now I want to cereate process(to execute one exe file) > on wince 4.2 from perl script. I want pid of that > process so that if that process does not > complete its task within certain time , that id will > be killed and next process will start. > > For this i need to know how to get > 1. pid of process > 2. how to kill pid. > 3. How to check pid status(i mean is it completed > or still in process) As I mentioned, I do not know. And I have no real possibility to investigate. The most I can advice for you is to read through SDK documentation provided with EVC, and, once you'll get C code to solve your task, you'll be able to create Perl module to do that. In case you want to know details how to cross-compile Perl module for WinCE, please refer to http://perlce.sourceforge.net for advice. In case you find those advices not clear enough, please feel free to send me improvements :) Best regards, Vadim. |