×

Discussion Board

Results 1 to 5 of 5
  1. #1
    Registered User
    Join Date
    Jan 2007
    Location
    Berlin, Germany
    Posts
    15

    Splash screen example - TCoeEvent error

    Hi everybody,

    I'm trying to compile the splash screen example taken from here
    http://www.newlc.com/Fix-or-animated-splash-screen.html
    with Carbide.c++ and SDK S60 3rd edition.

    I already modified the old
    Code:
    TInt E32Dll(TDllReason)
    {
    return KErrNone;
    }
    but I'm still getting here
    Code:
    void HandleControlEventL(CCoeControl* aControl,TCoeEvent aEventType);
    the following error:

    illegal access from 'CSplashView' to protected/private member 'MCoeControlObserver::TCoeEvent'

    How can I fix that, I can't find the right solution for that?
    Thanx!

  2. #2
    Super Contributor
    Join Date
    Oct 2005
    Posts
    739

    Re: Splash screen example - TCoeEvent error

    Hi,

    I have tried it in 2nd edition and i got that error till I made a change

    Change the declaration of HandleControlEvent in SplashView.h to void HandleControlEventL(CCoeControl*aControl,MCoeControlObserver::TCoeEvent aEventType); Also fix it in the .cpp file

    It works fine for me.

    Hope you will solve your problem,
    Peter

  3. #3
    Registered User
    Join Date
    Jan 2007
    Location
    Berlin, Germany
    Posts
    15

    Re: Splash screen example - TCoeEvent error

    Wow, thanks a lot. This easy modification really solved that problem. I'm just afraid that I have now four new ones. Here's what I get now:

    • File 'Splash.def' is not a text file
    • Specified file 'Splash.lib' not found
    • Undefined symbol: 'int CFont::AscentInPixels(void) const (?AscentInPixels@CFont@@QBEHXZ)' referenced from 'void CSplashView:rawSplash(class TRect const &) const (?DrawSplash@CSplashView@@EBEXABVTRect@@@Z)' in SplashView.cpp:129 referenced from 'void CSplashView:rawSplash(class TRect const &) const (?DrawSplash@CSplashView@@EBEXABVTRect@@@Z)' in SplashView.cpp:132 referenced from 'void CSplashView:rawSplash(class TRect const &) const (?DrawSplash@CSplashView@@EBEXABVTRect@@@Z)' in SplashView.cpp:135 Splash line 0 30. Mai 2007 15:33:06 16803
    • Undefined symbol: 'int CFont::HeightInPixels(void) const (?HeightInPixels@CFont@@QBEHXZ)' referenced from 'void CSplashView:rawSplash(class TRect const &) const (?DrawSplash@CSplashView@@EBEXABVTRect@@@Z)' in SplashView.cpp:127 referenced from 'void CSplashView:rawSplash(class TRect const &) const (?DrawSplash@CSplashView@@EBEXABVTRect@@@Z)' in SplashView.cpp:128 referenced from 'void CSplashView:rawSplash(class TRect const &) const (?DrawSplash@CSplashView@@EBEXABVTRect@@@Z)' in SplashView.cpp:131 referenced from 'void CSplashView:rawSplash(class TRect const &) const (?DrawSplash@CSplashView@@EBEXABVTRect@@@Z)' in SplashView.cpp:134 Splash line 0 30. Mai 2007 15:33:06 16802


    I have a file named Splash.def in the "S60 3.0 Emulator Debug [S60_3rd_MR_3]" folder. It only contains the word "EXPORTS", nothing more. Could it be that I have forgot to set something in the configuration?

  4. #4
    Registered User
    Join Date
    Jan 2007
    Location
    Berlin, Germany
    Posts
    15

    Re: Splash screen example - TCoeEvent error

    Ok, I solved the "Undefined symbol" linking errors, the library "gdi.lib" was just not included. Two problems to go:

    • File 'Splash.def' is not a text file
    • Specified file 'Splash.lib' not found


    Someone an idea?

  5. #5
    Super Contributor
    Join Date
    Oct 2005
    Posts
    739

    Re: Splash screen example - TCoeEvent error

    Quote Originally Posted by matlev
    Ok, I solved the "Undefined symbol" linking errors, the library "gdi.lib" was just not included. Two problems to go:

    • File 'Splash.def' is not a text file
    • Specified file 'Splash.lib' not found


    Someone an idea?
    Did you freeze your dll...? and run that..? check splash.lib is present or not at Epoc32\release\winscw\udeb.

    Hope this will help you.
    Peter

Similar Threads

  1. error LNK2019: unresolved external symbol ???
    By wgarnett in forum Symbian
    Replies: 3
    Last Post: 2009-09-28, 06:53
  2. carbidec++ helloworld project problem
    By akhin in forum Carbide.c++ IDE and plug-ins (Closed)
    Replies: 0
    Last Post: 2007-03-11, 12:40
  3. My BuilderX (with S60 SDK 2.1.NET MS version) cannot build ARMI UREL
    By danielvidonyi@hotmail.com in forum Symbian Tools & SDKs
    Replies: 1
    Last Post: 2006-05-04, 21:30
  4. Full screen splash screen
    By jitendrachhajed in forum Symbian
    Replies: 1
    Last Post: 2005-07-11, 08:01
  5. User break point error in Grid
    By ag24master in forum Symbian User Interface
    Replies: 0
    Last Post: 2003-08-07, 08:20

Posting Permissions

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