This project is read-only.

IDccMan.AutoconnectEnable() not implemented on Win 7/x64


I am working on a Mobile Mobile app MDM.exe which was created in 2007 using visual Studio 2005 (c# and has been running on XP 32 bit during that time.

the app needs to be converted to Windows 7 64 bit the source code was not available however I was able to use justComplie to decode the MDM.exe file and now have access to the code using VS2008 .

The source code had a version a 2006 version of OpenNETCF.Desktop.Communication.dll so I removed this reference from the project and added the current version on the site but am still getting the following error when trying to connect to a device.

System.NotImplementedException: The method or operation is not implemented.
at OpenNETCF.Desktop.Communication.IDccMan.ConnectNow()
at OpenNETCF.Desktop.Communication.ActiveSync.ConnectNow()
at MDM.Form1.bnConnect_Click(Object sender, EventArgs e)
at System.Windows.Forms.Control.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ButtonBase.WndProc(Message& m)
at System.Windows.Forms.Button.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
************* Loaded Assemblies **************
Assembly Version:
Win32 Version: 2.0.50727.5420 (Win7SP1.050727-5400)

CodeBase: file:///C:/Windows/Microsoft.NET/Framework64/v2.0.50727/mscorlib.dll

Assembly Version:
Win32 Version: 2.2.2

CodeBase: file:///C:/Program%20Files%20(x86)/JLP/MDM/MDM.exe

Assembly Version:
Win32 Version: 2.0.50727.5420 (Win7SP1.050727-5400)

CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System/

Assembly Version:
Win32 Version: 2.0.50727.5420 (Win7SP1.050727-5400)

CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Windows.Forms/

Assembly Version:
Win32 Version: 2.0.50727.5458 (Win7SP1GDR.050727-5400)

CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Drawing/

Assembly Version: 2.9.5160.36757
Win32 Version: 2.9.5160.36757

CodeBase: file:///C:/Program%20Files%20(x86)/JLP/MDM/OpenNETCF.Desktop.Communication.DLL

Assembly Version:
Win32 Version: 2.0.50727.5420 (Win7SP1.050727-5400)

CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.DirectoryServices/

Assembly Version:
Win32 Version: 2.0.50727.5420 (Win7SP1.050727-5400)

CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Configuration/

Assembly Version:
Win32 Version: 2.0.50727.5420 (Win7SP1.050727-5400)

CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Xml/

Assembly Version:
Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/Accessibility/

Within the source code FORM1 (where you connect to a mobile Motorola device this is the code which generates the error . It should still work on W7 but I am baffled as to why it is not working so I would really appreciate some advice

public Form1()
            this.m_rapi = new RAPI();
            this.m_rapi.ActiveSync.ConnectAsGuestOnly = true;
            this.m_rapi.ActiveSync.AutoConnect = false;
            this.m_rapi.ActiveSync.Active += new ActiveHandler(this.ActiveSync_Active);
            this.m_rapi.ActiveSync.Disconnect += new DisconnectHandler(this.ActiveSync_Disconnect);
            this.m_rapi.ActiveSync.Listen += new ListenHandler(this.ActiveSync_Listen);
            this.m_rapi.ActiveSync.Answer += new AnswerHandler(this.ActiveSync_Answer);
            this.m_rapi.RAPIConnected += new RAPIConnectedHandler(this.m_rapi_RAPIConnected);

this.m_rapi.RAPIDisconnected += new RAPIConnectedHandler(this.m_rapi_RAPIDisconnected);

file attachments


RichardJLP wrote Feb 17, 2014 at 11:49 AM

I've attached the FORM1.cs file if that helps

wrote Nov 20, 2014 at 3:58 PM

Horazius wrote Nov 20, 2014 at 4:01 PM

We have exactly the same issue here. Do you have a solution now?