Remote API 2 (RAPI2) and ActiveSync

Send Feedback

The Remote API 2 (RAPI2) library communicates with a remote Microsoft® Windows® CE-based device using a connection that is established and maintained by the ActiveSync application. Developers will need to install ActiveSync on their development computers before they will be able to test any RAPI2 applications. Also, RAPI2 applications will not be able to establish a connection to a remote device on an end user computer unless ActiveSync has been installed.

If you want your RAPI application to automatically execute when a Windows Mobile–based 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.

Note   Because the libraries needed by RAPI2 are installed by ActiveSync, you should not include rapi.dll with your application's desktop installation. Doing so could result in your application overwriting a newer version of the RAPI2 library with an older one an possibly breaking other installed RAPI2 applications.

See Also

Remote API 2 (RAPI2) Application Development for Windows Mobile–based Devices

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.