Search code examples
windows-mobileactivesyncrapi

CeRapiInit or CeRapiInitEx?


CeRapiInit() does not return until a device is connected and initialization is complete (synchronous). CeRapiInitEx() does, but requires a callback event handler (asynchronous). All I want is a "connecting to device" dialog with a cancel button. Which is the better approach? Any code sample out there?


Solution

  • Found it :-)

    http://support.microsoft.com/kb/831883