OpenNETCF.Desktop.Communication Question

D

Daissy

Hi, can anybody guide me in how to use the OpenNETCF.Desktop.Communication
library to detect a running process in my connected device ?

Thanks in advance
 
P

Peter Foot

I don't think the library gives the ability to pull back a list of running
processes. I think you would have to launch an application on the device
which checks whether a process is running (e.g. using ToolHelp APIs) and
have some method to communicate this back to the desktop (write to the
registry, file, socket etc).

Peter

--
Peter Foot
Microsoft Device Application Development MVP
peterfoot.net | appamundi.com | inthehand.com
APPA Mundi Ltd - Software Solutions for a Mobile World
In The Hand Ltd - .NET Components for Mobility
 
N

Neil Cowburn

Hi, can anybody guide me in how to use the OpenNETCF.Desktop.Communication
library to detect a running process in my connected device ?

Thanks in advance

If you're comfortable with C, you can write a RAPI extension method and
use OpenNETCF.Desktop.Communications.RAPI.Invoke to execute the method.
The method should enumerate the processes on the device using the
ToolHelp API. It's relatively straightforward to do.
 

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