Win 7/64-bit IDccMan.AutoconnectEnable() not implemented?

Aug 16, 2010 at 5:49 PM

I've been working with the Desktop Communication library successfully for quite a while on Win XP/32-bit, but now I'm running into an exception when running on a Win 7/64-bit system:

System.NotImplementedException: The method or operation is not implemented.
   at OpenNETCF.Desktop.Communication.IDccMan.AutoconnectEnable()
   at OpenNETCF.Desktop.Communication.ActiveSync.set_AutoConnect(Boolean value)

The wierd thing is that all of the other API calls that I'm using seem to work and the device can connect, just not automatically.  Unfortunately, this isn't good enough because many features of my software depend on receiving connection events.

Any ideas?  Thanks!

didge

Developer
Sep 23, 2010 at 11:19 AM

Do you use the latest version of the Windows Mobile Device Center?

Sep 23, 2010 at 3:40 PM

I'm using 6.1.6965, as reported in the WMDC Help>About WMDC menu.

Developer
Sep 23, 2010 at 7:22 PM
Edited Sep 23, 2010 at 7:30 PM

That seems to be ok. Since I don't have any problems running OpenNETCF Desktop Library on Windows 7 x64 would you please be so kind to provide some source code or send me a project?

Sep 23, 2010 at 8:24 PM

I'll put something together for you, thanks!

Feb 6, 2013 at 10:53 AM
I have the same problem. Did you find the solution?
Nov 27, 2013 at 2:06 PM
I have the same issue here
I found that it requires elevation to be able to use IDccMan.AutoconnectEnable()

When running as a limited user this fails.

Anyone found a workaround to this?
Nov 21, 2014 at 8:10 AM
Edited Nov 21, 2014 at 8:11 AM
We have the same issue here.
Elevating the User (turning off UAC complete) did not help.

The following API Calls don't work on Win7 64 Bit with Windows Mobile Device Center (RAPI.dll Version 6.1:
  • idccMan.AutoconnectEnable()
  • idccMan.AutoconnectDisable()
  • idccMan.ConnectNow();
  • idccMan.DisconnectNow()
  • idccMan.ShowCommSettings()
While these API Calls work:
  • idccMan.Advise(idccSink, out intdwContext);
  • idccMan.Unadvise(intdwContext)
  • idccMan.SetIconError()
  • idccMan.SetIconDataTransferring()
  • idccMan.SetIconNoDataTransferring()
The Code is:
...
this.rapi = new RAPI();
this.rapi.ActiveSync.ConnectAsGuestOnly = true;
this.rapi.ActiveSync.AutoConnect = true; // NotImplemented Exception is triggered here
...
We debugged the API Calls with WinDebug and it seems as if the RAPI.dll has changed and always emitts this exception.
Question2RobertWachtel: Which Version has your RAPI.dll on your Win7 64 Bit System?