MISI

Login to reply to this topic.
Tue, 2005-11-29 02:38
Joined: 2005-11-28
Forum posts: 18
 Guys,pls help me with these code
  I have added these code to IMSIAppUi.cpp file.

   case EIMSICmdAppTest:
            {
            iEikonEnv->InfoMsg(_L("test"));
         _LIT(KTsyName,"phonesy.tsy");
         
         
            TRequestStatus iStatus;
         //User::WaitForRequest();
         CTelephony telephony;
         CTelephony telephony = CTelephony::NewL();
           

         CTelephony::TSubscriberIdV1 iSubscriId;

         
            CTelephony::TSubscriberIdV1Pckg subscrIdPckg(iSubscrId);
         
            telephony->GetSubscriberId(iStatus, subscrIdPckg));
         
         TPtrC theIMSI(iSubscrId.iSubscriberId);

            }
        // TODO: Add Your command handling code here

        //default:
            break;


   These are the error messages:
 
   syntax error : missing ';' before identifier 'telephony'
.\src\IMSIAppUi.cpp(98) : error C2065: 'telephony' : undeclared identifier
.\src\IMSIAppUi.cpp(99) : error C2146: syntax error : missing ';' before identifier 'telephony'
.\src\IMSIAppUi.cpp(99) : error C2653: 'CTelephony' : is not a class or namespace name
.\src\IMSIAppUi.cpp(99) : error C2065: 'NewL' : undeclared identifier
.\src\IMSIAppUi.cpp(102) : error C2653: 'CTelephony' : is not a class or namespace name
.\src\IMSIAppUi.cpp(102) : error C2065: 'TSubscriberIdV1' : undeclared identifier
.\src\IMSIAppUi.cpp(102) : error C2146: syntax error : missing ';' before identifier 'iSubscriId'
.\src\IMSIAppUi.cpp(102) : error C2065: 'iSubscriId' : undeclared identifier
.\src\IMSIAppUi.cpp(105) : error C2653: 'CTelephony' : is not a class or namespace name
.\src\IMSIAppUi.cpp(105) : error C2065: 'TSubscriberIdV1Pckg' : undeclared identifier
.\src\IMSIAppUi.cpp(105) : error C2146: syntax error : missing ';' before identifier 'subscrIdPckg'
.\src\IMSIAppUi.cpp(105) : error C2065: 'subscrIdPckg' : undeclared identifier
.\src\IMSIAppUi.cpp(105) : error C2065: 'iSubscrId' : undeclared identifier
.\src\IMSIAppUi.cpp(107) : error C2227: left of '->GetSubscriberId' must point to class/struct/union
.\src\IMSIAppUi.cpp(107) : error C2059: syntax error : ')'
.\src\IMSIAppUi.cpp(109) : error C2228: left of '.iSubscriberId' must have class/struct/union type


I am still new to Symbian. Need your guide.

   waiting for you,guys. Thanks

Tue, 2005-11-29 05:38
Joined: 2004-07-09
Forum posts: 98
Re: MISI
Hi olebb,

    You included the header file related to CTelephony class,
   
    i.e. Etel3rdParty.h  & Add lib in to mmp file,Etel3rdParty.lib.

   



DipakBaviskar

Tue, 2005-11-29 08:34
Joined: 2005-04-27
Forum posts: 77
Re: MISI
Quote from: Dip
Hi olebb,

    You included the header file related to CTelephony class,
   
    i.e. Etel3rdParty.h  & Add lib in to mmp file,Etel3rdParty.lib.


For your info, if you are targeting devices on S60 with N90 & below, Etel3rdParty.dll is not available on the actual device. You can check that by looking at Z:\system\libs.

Although you can complied your project but it will not works on the actual device.

This is spell out in the Known Issues document at Nokia developers forum.



   



Wed, 2005-11-30 14:27
Joined: 2005-11-28
Forum posts: 18
Re: MISI
Thank you for your reply !

  I already added the etel3rdparty lib and h files. But it doesnt work. These codes are used for the Symbian 8.0s

  Is there another way to get IMSI by using Symbian ?
  • Login to reply to this topic.