How to prevent an ActiveSync Connection

  • Thread starter Thread starter Ron Weiner
  • Start date Start date
R

Ron Weiner

I have a CF 1 app (VB) running on a Symbol MC50 running WM 2003 SE. My
application completely takes over the device when it starts. In effort to
further lock down the device I would like to disallow users from looking at
the device via a cradle and Active Sync while my application is running.
Can anyone suggest a way to do this?

Ron W
 
Hi,

Check out CeRunAppAtEvent() to detect active sync then you can use
TerminateProcess to kill repllog.exe.
 
Thanks Amit:

CeRunAppAtEvent() using NOTIFICATION_EVENT_RS232_DETECTED, and
TerminateProcess() on rapisrv.exe got me where I needed to be. The
file system dissapears from explorer on the attached PC.

Ron W
 
Back
Top