Trouble connecting to WM6 using old OpenNetcf.desktop.communication.dll

Last post 06-25-2008 22:32 by cloftis. 2 replies.
Page 1 of 1 (3 items)
Sort Posts: Previous Next
  • 06-25-2008 15:50

    Trouble connecting to WM6 using old OpenNetcf.desktop.communication.dll

    BACKGROUND

    A couple of years ago I created a windows application (VB.NET 1.1) that uses the "OpenNetcf.desktop.communication.dll" to Pocket PC (PPC) 3.0x mobile devices to perform various file manipulation tasks.

    Soon we will be upgrading from PPC 3.0x devices to Window Mobile (WM) 6x devices.

     

    PROBLEM

    I’ve been out of the loop on mobile development for a couple of years and was hoping that I could reuse the “OpenNetcf.desktop.communication.dll” to establish, monitor and perform actions on the WM 6x devices – but after some initial testing I am not even able to establish a connection.

     

    QUESTION

    Should I abandon using “OpenNetcf.desktop.communication.dll” to communicate with WM 6x devices or should I be able to continue using the “OpenNetcf.desktop.communication.dll”?

     

    Your thoughts appreciated.

    Filed under: ,
  • 06-25-2008 17:16 In reply to

    • neil
    • OpenNETCF Staff
    • Top 10 Contributor
    • Joined on 07-30-2007
    • North Wales
    • Posts 1,152

    Re: Trouble connecting to WM6 using old OpenNetcf.desktop.communication.dll

    Your post is pretty thin on the details. You say you're using an "old" version of the Desktop Comms library, yet there's no mention of the version. Similarly vague is the description of the issue your facing. You should at least provide any exception details that you get when you run your code. The more information you can provide, the more likely we'll be able to help you.

    Have you tried using the latest source code from our Subversion repository? Version 2.9 was the last pre-compiled release we did, quite a while ago now, but there's been a number of bug fixes applied to the source code. 


  • 06-25-2008 22:32 In reply to

    Re: Trouble connecting to WM6 using old OpenNetcf.desktop.communication.dll

    Thanks for your prompt reply. 

    You are right... sorry for not being more clear on my problem.

    RE: "old" version: I'm not sure where to find out what version of the "old" desktop comms lib I had before... looking in the AssemblyInfo.cs I see this line:

          [assembly: AssemblyVersion("2.8.*")]

     Also, in changelog.txt the most recent entry reads:

          Changelog for:

          OpenNETCF.Desktop.Communications.RAPI

          ------------------------

          Apr 19, 2004 - Chris Tacke...

    hopefully that will give you an idea of the version I have.

     

    RE: "provide any exception details ":

    I am not getting an error message but instead for my WM 6.0x device the

          m_activesync.Active

    event never fires after cradling the device is cradled (but it does fire when I cradle my PPC 3x device). Where m_activesync is defined as:

          Private WithEvents m_rapi As RAPI

          Private WithEvents m_activesync As ActiveSync

          Me.
    m_rapi = New RAPI

          Me.m_activesync = m_rapi.ActiveSync

     

     

    I have not tried to use the latest version - and was hoping to avoid it unless the version I have is just flat out incompatible...

Page 1 of 1 (3 items)