Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion Groups
End Users
Pocket PCActiveSyncMultimediaEBooksWirelessSmartPhones
Developers
Windows MobileSmartPhonesWinCE ProgrammingVB for WinCEVC++ for WinCEPlatform BuilderTest Tools
PocketPC DirectoryFree SoftwareWeb Resources
Related Topics
PalmMobile PhonesMore Topics ...

Pocket PC Forum / Developers / Windows Mobile / July 2006

Tip: Looking for answers? Try searching our database.

Adding Custom Application into Active Synch

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Brian - 29 Jul 2006 02:22 GMT
So I created a Rapi tool that handles my file transfers between my mobile and
desktop.

Now I want the RAPI tool to run everytime I dock my PPC. Can I use
ActiveSynch? So I need to create a exe, that is always on? How can I make it
so my users do not need to do anything?

thanks
JamesFielding - 29 Jul 2006 11:02 GMT
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
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2010 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.