ActiveSync: How to detect synchronization in progress?
-
Hello, I've got the following problem. We use rapi.dll with the OpenNetCf wrapper api to transfer files to and from Windows Mobile devices. This works perfectly unless ActiveSync is actively synchronising data (e.g. Calendar information). Then the called method just hangs. Now my question (and I haven't found a solution to this so far): How do I detect from the desktop application if ActiveSync (or its Vista counterpart - forget that name as soon as I hear it) is currently synchronising to prevent file exchange during synchronization? I know there's Microsoft.WindowsMobile.Status, but as far as I understand this only works from the mobile device and I need it from the desktop. At least I haven't been able to import it into my desktop solution. We use .NET 3.5 with VB.NET but any usable solution would do. Thanks in advance. Marcus