×

Discussion Board

Results 1 to 12 of 12
  1. #1
    Regular Contributor
    Join Date
    Jul 2006
    Posts
    74

    Smile undefined identifier!

    how to solve this problem?


    -------
    ERROR
    ------
    undefined identifier 'CsplashnewApplication' splashnewApplication.cpp splashnew/src line 38 July 10, 2006 1:14:35 PM 3791

  2. #2
    Super Contributor
    Join Date
    Jun 2006
    Location
    Moscow, Russia
    Posts
    803

    Re: undefined identifier!

    You probabaly forgot to include the H-file where CsplashnewApplication is declared.

    I think you'd better read a book on C++ because all the errors you have (I mean from your other posts too) are more related to general C++ but not Symbian development.
    Regards,
    ivey

  3. #3
    Regular Contributor
    Join Date
    Jul 2006
    Posts
    74

    Re: undefined identifier!

    Its not such ivey, i had defined all the header files needed still getting this error!

  4. #4
    Regular Contributor
    Join Date
    Jul 2006
    Posts
    74

    Smile Re: undefined identifier!

    whts this error? DOes any one help me out solving this?
    THere is problem in the underlined code.


    CODE
    void CsplashnewAppUi::ConstructL()
    {
    BaseConstructL();
    iAppContainer = new (ELeave) CsplashnewView;
    ---------------------------------------------
    iAppContainer->SetMopParent(this);
    iAppContainer->ConstructL( ClientRect() );
    AddToStackL( iAppContainer );
    }

    ERROR

    illegal use of abstract class ('MCoeControlObserver::HandleControlEventL(CCoeControl *, MCoeControlObserver::TCoeEvent)') splashnewAppUi.cpp splashnew/src line 31 July 10, 2006 2:11:13 PM 3867

  5. #5
    Super Contributor
    Join Date
    Jun 2006
    Location
    Moscow, Russia
    Posts
    803

    Re: undefined identifier!

    Probably CsplashnewView is derived from MCoeControlObserver but HandleControlEventL() method is not defined in CsplashnewView.
    You should have the following in your H-file:

    void HandleControlEventL(CCoeControl* aControl,TCoeEvent aEventType);

    And in your CPP-file:

    void CsplashnewView::HandleControlEventL(CCoeControl* aControl,TCoeEvent aEventType)
    {
    }
    Regards,
    ivey

  6. #6
    Regular Contributor
    Join Date
    Jul 2006
    Posts
    74

    Re: undefined identifier!

    thnks you but errors has yet not gone !!

  7. #7
    Regular Contributor
    Join Date
    Jul 2006
    Posts
    74

    Smile Re: undefined identifier!

    ivey can u plz provide me some sample code for the splash screen which can run on nokia s60 series 3rd edition??? so tht i can get some idea for building my application.

  8. #8
    Super Contributor
    Join Date
    Jun 2006
    Location
    Moscow, Russia
    Posts
    803

    Re: undefined identifier!

    jignasha,

    I think it would be useful for you to skim over the SDK examples I'm sure there are examples which will set you on the right track.
    Regards,
    ivey

  9. #9
    Regular Contributor
    Join Date
    Jul 2006
    Posts
    74

    Talking Re: undefined identifier!

    ivey ur right !
    but there r not examples for splash screen given , give me the link for examples of splash screen using carbide c++ and third edition if u know.
    plz

  10. #10
    Super Contributor
    Join Date
    Jun 2006
    Location
    Moscow, Russia
    Posts
    803

    Re: undefined identifier!

    Sorry, I don't have such examples. Try searching the forum
    Regards,
    ivey

  11. #11
    Regular Contributor
    Join Date
    Jul 2006
    Posts
    74

    Smile Re: undefined identifier!

    thanks a lot!

  12. #12
    Registered User
    Join Date
    Feb 2006
    Posts
    6

    Re: undefined identifier!

    Then the issue which was about the undefined identifier has been solved? I think the floor 5 may be right

Similar Threads

  1. Replies: 3
    Last Post: 2007-01-18, 11:27
  2. Carbide.vs 2.01 Registration Problem
    By baykal in forum Symbian Tools & SDKs
    Replies: 5
    Last Post: 2006-12-22, 16:55
  3. Linkage error (Urgent)
    By waelali in forum Symbian Tools & SDKs
    Replies: 8
    Last Post: 2006-02-07, 10:20
  4. Compiling error (Urgent)
    By waelali in forum Symbian
    Replies: 2
    Last Post: 2006-02-06, 04:32
  5. Urgent - Compiling erros
    By waelali in forum Symbian Tools & SDKs
    Replies: 0
    Last Post: 2006-02-05, 14:45

Posting Permissions

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