Missing Cellcore.dll on WinCE

Last post 05-05-2008 8:28 by ctacke. 9 replies.
Page 1 of 1 (10 items)
Sort Posts: Previous Next
  • 03-11-2008 8:10

    Missing Cellcore.dll on WinCE

    Hello everyone,

    I try to connect to a GPRS modem with a WinCE 5 device. I use VB.Net Compact Frmaework and I have the SDF 2.2.

    When I try a little project like this(I included all the OpenNetCF DLL files in the project):

          Imports System.Windows.Forms
          Imports System.Net
         
    Public Class Form1
         
    Private Sub Command1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Command1.Click
                Dim ConCount As Integer = OpenNETCF.Net.ConnectionManager.ConnectionDetailItems.Count
                MsgBox(ConCount)
          End Sub
          End
    Class

    I get this error when debugging:

            Can't find PInvoke DLL 'cellcore'.

    I spent the whole morning searching the cellcore.dll but I can't find it on my development PC. The only thing I find on my development PC is the cellcore.lib in :

    C:\Programme\Microsoft Visual Studio 8\SmartDevices\SDK\PocketPC2003\Lib\armv4
    C:\Programme\Microsoft Visual Studio 8\SmartDevices\SDK\Smartphone2003\Lib\armv4

    So is this file available only for PocketPC2003 and Smartphone2003?
    How can I use the OpenNETCF.Net.ConnectionManager without having this file in WinCE 5?

    Greetings
    Thomas



  • 03-11-2008 8:18 In reply to

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

    Re: Missing Cellcore.dll on WinCE

    The Connection Manager is a Windows Mobile only API. You cannot use it from Windows CE. Subsequently, you cannot use the ConnectionManager class from Windows CE.

  • 03-11-2008 8:39 In reply to

    Re: Missing Cellcore.dll on WinCE

    Thanks.

    But then there is no way the SDF can connect me to a GPRS modem under WinCE?

    Some hints and advices to get the connection to the GPRS modem in another way?

  • 03-11-2008 8:48 In reply to

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

    Re: Missing Cellcore.dll on WinCE

    What you want is not to connect to a GPRS modem, but connect via a GPRS modem. They are two very different actions. 

    The Smart Device Framework does not have any functionality for interfacing directly with a modem. You have two options:

    1. Use our RAS Library.

    2. Use either the System.IO.Ports namespace or our Serial Library to send AT commands directly to the modem.

  • 03-11-2008 9:07 In reply to

    Re: Missing Cellcore.dll on WinCE

    The RAS Library looks interesting. But one thing in the feature list is confusing me:

  • Ability to establish a connection through Connection Manager.
  • Can I really use this in WinCE? Because in the previous posts you mean I can't use the Connection Manager!

  • 03-11-2008 10:07 In reply to

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

    Re: Missing Cellcore.dll on WinCE

    Under Windows Mobile, the Connection Setting control panel applet allows users to create and configure "Connections". These Connections are used by the Connection Manager to control network connections. A Connection in this context is a logical entity that stores all the parameters needed to establish a network connection over a particular transport.

    The RAS API contains functionality that allows you to create these Connections programmatically and without user input. This is only available to applications running under Windows Mobile.

    You cannot use this feature of the RAS library under Windows CE as it is meaningless without the Connection Manager component of the Windows Mobile operating system.

  • 03-11-2008 10:25 In reply to

    Re: Missing Cellcore.dll on WinCE

    Thanks for the fast answers, but I am confused more and more.

    Ok, try it this way.

    I have a WinCE 5 device. I don't have to make the connection from my application.
    What I want is 
    - a list of the available Connections
    - Select the Connection and connect to it
    - Test if the Connection is still alive
    - Hang up the Connection
    - Perhaps enter a User and a Password

    Can I realize this with the RAS library, without using the ConnectionManager?

  • 03-11-2008 10:35 In reply to

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

    Re: Missing Cellcore.dll on WinCE

    Forget about the Connection Manager. You're using a Windows CE device. It has no relevance to your scenario whatsoever.

    Our RAS library is a wrapper around the Win32 RAS API so for a complete breakdown of its capabilities, see the RAS docs on MSDN.

  • 05-05-2008 6:44 In reply to

    Re: Missing Cellcore.dll on WinCE

    Hi ppl,

    I have the same problem. I want to use Connection Manager to create, dial and adjust connection propreties (like APN settings, etc) and i cannot do it because i'm using Windows CE 5.0 on x86 platform.

    There is any solution using Windows CE 6.0 instead?

    Please Kniffel, tell me how you solve your problem. 

    Regards 

     

  • 05-05-2008 8:28 In reply to

    • ctacke
    • OpenNETCF Staff
    • Top 10 Contributor
    • Joined on 07-27-2007
    • Indiana
    • Posts 1,890

    Re: Missing Cellcore.dll on WinCE

     Cellcore.dll is a WIndows Mobile library.  The only "solutions" are you either not use it at all or completely reproduce it's behavior for Windows CE.

Page 1 of 1 (10 items)