×

Discussion Board

Results 1 to 5 of 5

Thread: embeddable app

  1. #1
    Registered User
    Join Date
    Dec 2006
    Posts
    6

    embeddable app

    I write a embeddable app,it can run successfully stand alone .But when invoke the embeddable app in another app,it raise the error "BAFL 4".
    In debug :
    void CEReaderContainer::ConstructL(const TRect& aRect)
    {
    CreateWindowL();

    TResourceReader reader;
    CEikonEnv::Static()->CreateResourceReaderLC( reader, R_AKNEXEDITOR_VIEW9_GTEXTED);

    iGTextEd = new ( ELeave ) CEikGlobalTextEditor;
    iGTextEd->CreatePreAllocatedScrollBarFrameL();
    iGTextEd->SetContainerWindowL( *this );
    iGTextEd->ConstructFromResourceL( reader ); // this sentence is cause error

    can anybody give me the answer ,thanks a lot
    CleanupStack::PopAndDestroy();

  2. #2
    Regular Contributor
    Join Date
    Sep 2006
    Posts
    280

    Re: embeddable app

    BAFL 4 is reaised when:
    Code:
    This panic is raised by the Read...() member functions and the Advance() 
    member function of TResourceReader, when the current position
     in the resource buffer is moved beyond the end of the buffer.

  3. #3
    Registered User
    Join Date
    Dec 2006
    Posts
    6

    Re: embeddable app

    I want to know how to correct the error, can you give me some example??

  4. #4
    Nokia Developer Moderator
    Join Date
    Sep 2004
    Location
    Tampere, Finland
    Posts
    11,359

    Re: embeddable app

    Just a guess: both the loader and the embedded app resources have the same resource identifier ? If so make them unique ...

  5. #5
    Registered User
    Join Date
    Dec 2006
    Posts
    6

    Re: embeddable app

    Quote Originally Posted by ltomuta
    Just a guess: both the loader and the embedded app resources have the same resource identifier ? If so make them unique ...
    now it work fine,thank you very much

Similar Threads

  1. OpenGL ES app is not trusted
    By mribble in forum Symbian Signed Support, Application Packaging and Distribution and Security
    Replies: 7
    Last Post: 2006-11-03, 22:48
  2. How to make sure the inside app just can be executed on one place
    By cellsoft_David in forum Symbian User Interface
    Replies: 1
    Last Post: 2005-06-15, 09:52
  3. App crash problem - how to figure out why?
    By neomedia in forum Symbian
    Replies: 1
    Last Post: 2005-02-07, 16:22
  4. Dialog's clipping area (again). Nokia experts, please help
    By synov in forum Symbian User Interface
    Replies: 0
    Last Post: 2004-06-26, 14:35
  5. Launching an app from pJava..
    By krajag in forum PersonalJava
    Replies: 0
    Last Post: 2002-10-10, 19:57

Posting Permissions

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