The information in this article applies to:
SYMPTOMSCalling CeRapiInvoke() while Active Sync is in the process of synchronizing files causes CeRapiInvoke() to fail with 0x80070002. CAUSEMicrosoft has confirmed that this is a bug. The cause of the problem is due to a global variable that is used for tracking the return result from API calls on the device. When RAPI is used by more than one process, it is possible the return value from an API may become invalid. RESOLUTION
Microsoft has provided a workaround to this problem. The following source code shows the workaround:
STATUSMicrosoft will fix this problem in future releases of Windows CE devices. For now, the workaround is the only way to avoid the problem. Additional query words:
Keywords : kbAPI kbKernBase kbWinCE kbDSupport kbGrpKernBase |
Last Reviewed: December 23, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |