BUG: IReplNotify::QueryDevice with QDC_SYNC_DATA Fails with RERR_NO_DEVICE

ID: Q241182


The information in this article applies to:
  • Microsoft Win32 Application Programming Interface (API), included with:
    • Microsoft Windows CE versions 2.0, 3.0 Professional Edition for the Handheld PC
    • Microsoft Windows CE versions 2.0, 2.12 for the Palm-size PC


SYMPTOMS

When using ActiveSync 3.0, IReplNotify::QueryDevice with QDC_SYNC_DATA fails with RERR_NO_DEVICE even though the device successfully connected to the desktop.


CAUSE

The error can occur when calling IReplNotify::QueryDevice in IReplNotify::Initialize. The problem is caused by a race condition between the thread calling IReplNotify::QueryDevice and another thread in ActiveSync 3.0 that is handling the connection to the device.


RESOLUTION

If this error occurs, the application should pause or do other processing before calling IReplNofiy::QueryDevice again.


STATUS

Additional query words:

Keywords : kbAPI kbKernBase kbWinCE200bug kbDSupport kbGrpKernBase kbWinCE212bug
Version : winnt:
Platform : winnt
Issue type : kbbug


Last Reviewed: December 4, 1999
© 2000 Microsoft Corporation. All rights reserved. Terms of Use.