Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Registering RAPI program with ActiveSync?

I'm trying to write a program which will run when a Windows Mobile device is connected, according to Microsofts documentation to do that we have to:

If you want your RAPI application to automatically execute when a Windows Mobile device connects to the desktop computer, do not put your application in StartUp or allow it to autorun. Instead, register it to be automatically run by ActiveSync upon device connection. For more information, see MSDN.

How do I accomplish that?

like image 856
meds Avatar asked May 03 '12 04:05

meds


1 Answers

Set a registry value at

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows CE Services\AutoStartOnConnect

source: http://pocketnow.com/tweaks-hacks/how-to-automatically-start-a-pc-application-on-device-connect-disconnect

like image 129
Cheeso Avatar answered Sep 24 '22 00:09

Cheeso