Hi Brian,
To get a program to start running whenever ActiveSync connects to a
device, simply add a registry value here:
HKLM\Software\Microsoft\Windows CE Services\AutoStartOnConnect
For example, you could add a new registry string called "RAPI Program",
with a value of "C:\Program Files\RAPItest\RAPItest.exe"
Hope this helps !
James
PocketPCinstaller.com
> So I created a Rapi tool that handles my file transfers between my mobile and
> desktop.
[quoted text clipped - 4 lines]
>
> thanks
r_z_aret@pen_fact.com - 31 Jul 2006 22:40 GMT
> Hi Brian,
>
[quoted text clipped - 5 lines]
> For example, you could add a new registry string called "RAPI Program",
>with a value of "C:\Program Files\RAPItest\RAPItest.exe"
Alternate methods:
1) Call CeRapiInit, which blocks (does not return) until a connection
is established
2) Poll by calling CeRapiInitEx and checking the return value.
> Hope this helps !
>
[quoted text clipped - 9 lines]
>>
>> thanks
-----------------------------------------
To reply to me, remove the underscores (_) from my email address (and please indicate which newsgroup and message).
Robert E. Zaret, eMVP
PenFact, Inc.
20 Park Plaza, Suite 478
Boston, MA 02116
www.penfact.com