application being invoked, switching between communication mechani

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Could someone please tell me, how would I tell when an application is
invoked. Also I am curious, how do I tell when the pocket pc switches
between communication mechanisms, such as wireless, WIFI, cradle, etc? Thank
you.
 
Hi Roger,
Could someone please tell me, how would I tell when an application is
invoked.
If you want to be notified when the user starts another application than
your own, I doubt there's an easy way to do so. The only possibility
that comes to my mind is to periodically get all active processes and
compare. Maybe the EnumWindows functions can help you here, but that
requires writing code in eVC.

Also I am curious, how do I tell when the pocket pc switches
between communication mechanisms, such as wireless, WIFI, cradle, etc? Thank
you.
If you're developing for a specific device, the manufacturer should
provide a SDK for this. If not, maybe the OpenNETCF.Net classes can help
you here (www.opennetcf.org/library/ - have a look at the Adapter class).

Kind Regards,

Roland
 
The OpenNETCF SDF has code for interacting with the toolhelp DLL which can
give you a complete list of all processes running on the device. You'd
still have to poll to detect new processes, as far as I can think, but it
*would* give you all applications, including those with no windows.

Paul T.
 
Back
Top