×

Discussion Board

Results 1 to 4 of 4
  1. #1
    Regular Contributor
    Join Date
    Sep 2007
    Posts
    62

    Cannot include cmmanager.h

    Hi ,

    I have been trying to do some basic example in using Connection Settings API
    but when I try to include the header,it says Cannot find it.

    I have included the LIBRARY cmmanager.lib in my mmp file.I am using S60 3rd edition SDK.
    #include <cmmanager.h>

  2. #2
    Nokia Developer Moderator
    Join Date
    Mar 2003
    Location
    Lempäälä/Finland
    Posts
    29,165

    Re: Cannot include cmmanager.h

    what is the excat API class name, and what is the excat error you get ?

  3. #3
    Regular Contributor
    Join Date
    Sep 2007
    Posts
    62

    Re: Cannot include cmmanager.h

    HI JUkka,

    I was trying to execute and se eone of the examples,I downloaded from the forum.Its header file is like this

    #ifndef __ALR_ENGINE_H__
    #define __ALR_ENGINE_H__

    #include <e32base.h>
    #include <e32std.h>
    #include <cmmanager.h>
    #include <es_sock.H>
    #include <ConnPref.h>
    #include <CommDbConnPref.h>
    #include <comms-infras\cs_mobility_apiext.h>

    typedef struct _TBearerType
    {
    TUint32 iUId;
    const TText* iText;
    }TBearerType;

    #define KUidLanBearerType 0x1020737A
    #define KPacketDataBearerType 0x10207378
    #define KPluginVPNBearerTypeUid 0x10281BBD
    #define KUidWlanBearerType 0x10281BB1

    const TBearerType KBearerTable[] =
    {
    { KUidLanBearerType, _S( "Lan" ) },
    { KPacketDataBearerType, _S( "Packet data" ) },
    { KPluginVPNBearerTypeUid, _S( "VPN" ) },
    { KUidWlanBearerType, _S( "Wlan" ) },
    };

    #define KUnknownBearerType _S( "Uknown" );
    const TInt KCmArrayGranularity = 10;

    typedef RArray<TUint32> RDestinationArray;
    typedef RArray<TUint32> RBearerArray;
    typedef RArray<TUint32> RMethodArray;
    class CActiveCommsMobilityApiExt;

    enum TEngineState
    {
    EAlrNone,
    EAlrConnecting,
    EAlrConnected
    };

    class MConnectionObserver
    {
    public:
    virtual void ConnectionState( TInt aState ) = 0;
    };

    class CAlrEngine : public CActive, public MMobilityProtocolResp
    {
    public: // New functions
    inline void SetObserver( MConnectionObserver* aObserver )
    { iObserver = aObserver; }

    void StartToConnect( );
    void StartToConnect( TConnSnapPref aPref );
    void StartToConnect( TCommDbConnPref


    It says connot include this files

    #include <cmmanager.h>
    #include <ConnPref.h>
    #include <CommDbConnPref.h>

  4. #4
    Nokia Developer Moderator
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    28,734

    Re: Cannot include cmmanager.h

    You might consider tell something concrete. It is nice to read that you are experimenting with 'some basic example in using Connection Settings API', which you have 'downloaded from the forum', but it would help more if you would name the example, and perhaps provide a link.
    I have checked, files matching to cmm*.* do not exist at least in S60 2nd noFP, S60 2nd FP2, S60 3rd MR, S60 3rd FP1, UIQ 3.0, neither in the 'SDK API Plug-in' packs.
    The include directory 'comms-infras' (in '#include <comms-infras\cs_mobility_apiext.h>') does not seem to be that standard neither...
    However it helped: searching for cs_mobility_apiext in Google revealed http://www.forum.nokia.com/document/...C0DFED57D.html
    Feel free to read the first paragraph, and act accordingly.

Similar Threads

  1. Urgent! Issues with views.
    By Donnieng in forum Symbian
    Replies: 4
    Last Post: 2008-04-22, 06:55
  2. Retrieve data from server-side asp
    By puh_sk8@hotmail.com in forum Symbian Networking & Messaging (Closed)
    Replies: 0
    Last Post: 2006-11-20, 17:19
  3. Problem to compile series60 3rd
    By asmobease in forum Symbian
    Replies: 9
    Last Post: 2006-09-04, 15:15
  4. open a view by clicking the listbox item
    By kirtij in forum Symbian Tools & SDKs
    Replies: 5
    Last Post: 2006-02-24, 15:55

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×