×

Discussion Board

Page 1 of 2 12 LastLast
Results 1 to 15 of 25
  1. #1
    Registered User
    Join Date
    Jan 2007
    Location
    Singapore
    Posts
    34

    application jus exits when selected

    hi all,

    my application jus exits from the emulator when i have selected it to start....
    what are the probable problems that could have caused this to happen..?? and these are the errors that happen..

    please advise..thank u..


    Severity Description Resource In Folder Location Creation Time Id
    2 Undefined symbol: 'class CBaseMtm * CClientMtmRegistry::NewMtmL(class TUid) (?NewMtmL@CClientMtmRegistry@@QAEPAVCBaseMtm@@VTUid@@@Z)' referenced from 'void CSmsEngine::ConstructL(void) (?ConstructL@CSmsEngine@@AAEXXZ)' in SmsEngine.cpp:48 SpoofWarn line 0 09 April 2007 15:12:48 8459
    2 Undefined symbol: 'class CCharFormatLayer * CCharFormatLayer::NewL(void) (?NewL@CCharFormatLayer@@SAPAV1@XZ)' referenced from 'void CSmsEngine::CloneMessageL(class TMsvEntry &) (?CloneMessageL@CSmsEngine@@AAEXAAVTMsvEntry@@@Z)' in SmsEngine.cpp:135 SpoofWarn line 0 09 April 2007 15:12:48 8466
    2 Undefined symbol: 'class CClientMtmRegistry * CClientMtmRegistry::NewL(class CMsvSession &, class TTimeIntervalMicroSeconds32) (?NewL@CClientMtmRegistry@@SAPAV1@AAVCMsvSession@@VTTimeIntervalMicroSeconds32@@@Z)' referenced from 'void CSmsEngine::ConstructL(void) (?ConstructL@CSmsEngine@@AAEXXZ)' in SmsEngine.cpp:46 SpoofWarn line 0 09 April 2007 15:12:48 8458
    2 Undefined symbol: 'class CMsvSession * CMsvSession::OpenAsyncL(class MMsvSessionObserver &) (?OpenAsyncL@CMsvSession@@SAPAV1@AAVMMsvSessionObserver@@@Z)' referenced from 'void CSmsEngine::ConstructL(void) (?ConstructL@CSmsEngine@@AAEXXZ)' in SmsEngine.cpp:45 SpoofWarn line 0 09 April 2007 15:12:48 8457
    2 Undefined symbol: 'class CMsvStore * CMsvEntry::EditStoreL(void) (?EditStoreL@CMsvEntry@@QAEPAVCMsvStore@@XZ)' referenced from 'void CSmsEngine::CloneMessageL(class TMsvEntry &) (?CloneMessageL@CSmsEngine@@AAEXAAVTMsvEntry@@@Z)' in SmsEngine.cpp:172 SpoofWarn line 0 09 April 2007 15:12:48 8471
    2 Undefined symbol: 'class CMsvStore * CMsvEntry::ReadStoreL(void) (?ReadStoreL@CMsvEntry@@QAEPAVCMsvStore@@XZ)' referenced from 'void CSmsEngine::CloneMessageL(class TMsvEntry &) (?CloneMessageL@CSmsEngine@@AAEXAAVTMsvEntry@@@Z)' in SmsEngine.cpp:142 SpoofWarn line 0 09 April 2007 15:12:48 8468
    2 Undefined symbol: 'class CParaFormatLayer * CParaFormatLayer::NewL(void) (?NewL@CParaFormatLayer@@SAPAV1@XZ)' referenced from 'void CSmsEngine::CloneMessageL(class TMsvEntry &) (?CloneMessageL@CSmsEngine@@AAEXAAVTMsvEntry@@@Z)' in SmsEngine.cpp:133 SpoofWarn line 0 09 April 2007 15:12:48 8465
    2 Undefined symbol: 'class CRichText * CRichText::NewL(class CParaFormatLayer const *, class CCharFormatLayer const *, enum CEditableText::TDocumentStorage, int, enum CRichText::TParaType) (?NewL@CRichText@@SAPAV1@PBVCParaFormatLayer@@PBVCCharFormatLayer@@W4TDocumentStorage@CEditableText@@HW4TParaType@1@@Z)' referenced from 'void CSmsEngine::CloneMessageL(class TMsvEntry &) (?CloneMessageL@CSmsEngine@@AAEXAAVTMsvEntry@@@Z)' in SmsEngine.cpp:137 SpoofWarn line 0 09 April 2007 15:12:48 8467
    2 Undefined symbol: 'class CSmsHeader * CSmsHeader::NewL(enum CSmsPDU::TSmsPDUType, class CEditableText &) (?NewL@CSmsHeader@@SAPAV1@W4TSmsPDUType@CSmsPDU@@AAVCEditableText@@@Z)' referenced from 'void CSmsEngine::CloneMessageL(class TMsvEntry &) (?CloneMessageL@CSmsEngine@@AAEXAAVTMsvEntry@@@Z)' in SmsEngine.cpp:178 SpoofWarn line 0 09 April 2007 15:12:48 8472
    2 Undefined symbol: 'int RMsvServerSession::GetEntry(long, long &, class TMsvEntry &) (?GetEntry@RMsvServerSession@@QAEHJAAJAAVTMsvEntry@@@Z)' referenced from 'void CSmsEngine::HandleSessionEventL(enum MMsvSessionObserver::TMsvSessionEvent, void *, void *, void *) (?HandleSessionEventL@CSmsEngine@@EAEXW4TMsvSessionEvent@MMsvSessionObserver@@PAX11@Z)' in SmsEngine.cpp:91 SpoofWarn line 0 09 April 2007 15:12:48 8461
    2 Undefined symbol: 'TMsvEntry::TMsvEntry(class TMsvEntry const &) (??0TMsvEntry@@QAE@ABV0@@Z)' referenced from 'void CSmsEngine::CloneMessageL(class TMsvEntry &) (?CloneMessageL@CSmsEngine@@AAEXAAVTMsvEntry@@@Z)' in SmsEngine.cpp:122 referenced from 'void CSmsEngine::CloneMessageL(class TMsvEntry &) (?CloneMessageL@CSmsEngine@@AAEXAAVTMsvEntry@@@Z)' in SmsEngine.cpp:158 SpoofWarn line 0 09 April 2007 15:12:48 8464
    2 Undefined symbol: 'TMsvEntry::TMsvEntry(void) (??0TMsvEntry@@QAE@XZ)' referenced from 'void CSmsEngine::HandleSessionEventL(enum MMsvSessionObserver::TMsvSessionEvent, void *, void *, void *) (?HandleSessionEventL@CSmsEngine@@EAEXW4TMsvSessionEvent@MMsvSessionObserver@@PAX11@Z)' in SmsEngine.cpp:74 SpoofWarn line 0 09 April 2007 15:12:48 8460
    2 Undefined symbol: 'void CBaseMtm::SwitchCurrentEntryL(long) (?SwitchCurrentEntryL@CBaseMtm@@QAEXJ@Z)' referenced from 'void CSmsEngine::HandleSessionEventL(enum MMsvSessionObserver::TMsvSessionEvent, void *, void *, void *) (?HandleSessionEventL@CSmsEngine@@EAEXW4TMsvSessionEvent@MMsvSessionObserver@@PAX11@Z)' in SmsEngine.cpp:108 referenced from 'void CSmsEngine::CloneMessageL(class TMsvEntry &) (?CloneMessageL@CSmsEngine@@AAEXAAVTMsvEntry@@@Z)' in SmsEngine.cpp:120 referenced from 'void CSmsEngine::CloneMessageL(class TMsvEntry &) (?CloneMessageL@CSmsEngine@@AAEXAAVTMsvEntry@@@Z)' in SmsEngine.cpp:153 SpoofWarn line 0 09 April 2007 15:12:48 8462
    2 Undefined symbol: 'void CMsvEntry::ChangeL(class TMsvEntry const &) (?ChangeL@CMsvEntry@@QAEXABVTMsvEntry@@@Z)' referenced from 'void CSmsEngine::CloneMessageL(class TMsvEntry &) (?CloneMessageL@CSmsEngine@@AAEXAAVTMsvEntry@@@Z)' in SmsEngine.cpp:168 SpoofWarn line 0 09 April 2007 15:12:48 8470
    2 Undefined symbol: 'void CMsvEntry:eleteL(long) (?DeleteL@CMsvEntry@@QAEXJ@Z)' referenced from 'void CSmsEngine::HandleSessionEventL(enum MMsvSessionObserver::TMsvSessionEvent, void *, void *, void *) (?HandleSessionEventL@CSmsEngine@@EAEXW4TMsvSessionEvent@MMsvSessionObserver@@PAX11@Z)' in SmsEngine.cpp:109 SpoofWarn line 0 09 April 2007 15:12:48 8463
    2 Undefined symbol: 'void CMsvStore::CommitL(void) (?CommitL@CMsvStore@@QAEXXZ)' referenced from 'void CSmsEngine::CloneMessageL(class TMsvEntry &) (?CloneMessageL@CSmsEngine@@AAEXAAVTMsvEntry@@@Z)' in SmsEngine.cpp:183 SpoofWarn line 0 09 April 2007 15:12:48 8475
    2 Undefined symbol: 'void CMsvStore::RestoreBodyTextL(class CRichText &) (?RestoreBodyTextL@CMsvStore@@QAEXAAVCRichText@@@Z)' referenced from 'void CSmsEngine::CloneMessageL(class TMsvEntry &) (?CloneMessageL@CSmsEngine@@AAEXAAVTMsvEntry@@@Z)' in SmsEngine.cpp:144 SpoofWarn line 0 09 April 2007 15:12:48 8469
    2 Undefined symbol: 'void CMsvStore::StoreBodyTextL(class CRichText const &) (?StoreBodyTextL@CMsvStore@@QAEXABVCRichText@@@Z)' referenced from 'void CSmsEngine::CloneMessageL(class TMsvEntry &) (?CloneMessageL@CSmsEngine@@AAEXAAVTMsvEntry@@@Z)' in SmsEngine.cpp:182 SpoofWarn line 0 09 April 2007 15:12:48 8474
    2 Undefined symbol: 'void CSmsHeader::StoreL(class CMsvStore &) const (?StoreL@CSmsHeader@@QBEXAAVCMsvStore@@@Z)' referenced from 'void CSmsEngine::CloneMessageL(class TMsvEntry &) (?CloneMessageL@CSmsEngine@@AAEXAAVTMsvEntry@@@Z)' in SmsEngine.cpp:180 SpoofWarn line 0 09 April 2007 15:12:48 8473

  2. #2
    Super Contributor
    Join Date
    Mar 2004
    Location
    Singapore
    Posts
    9,968

    Re: application jus exits when selected

    I donot think you are application compiled correctly.

  3. #3
    Nokia Developer Champion
    Join Date
    Mar 2006
    Location
    Helsinki, Finland
    Posts
    8,347

    Smile Re: application jus exits when selected

    Hello Lawren,

    You need to add appropriate libraries in your .mmp file.

    Quote Originally Posted by Lawren
    2 Undefined symbol: 'class CBaseMtm * CClientMtmRegistry::NewMtmL(class TUid) (?NewMtmL@CClientMtmRegistry@@QAEPAVCBaseMtm@@VTUid@@@Z)'
    For ex: for NewMtmL(), you need to add msgs.lib in the .mmp file.


    Search for the libraries to be linked against such fucntions, in the SDK help.

    After adding lib entries in your .mmp file, rebuild your project to get it effected.

    Kiran.

  4. #4
    Registered User
    Join Date
    Jan 2007
    Location
    Singapore
    Posts
    34

    Re: application jus exits when selected

    how can i specifically know which library is for which..??

  5. #5
    Regular Contributor
    Join Date
    Mar 2003
    Posts
    65

    Re: application jus exits when selected

    Go here: http://www.symbian.com/developer/tec.../QuickRef.html

    And for every header file you have included in your project check that you have included the relevant library that is listed next to it.

  6. #6
    Registered User
    Join Date
    Jan 2007
    Location
    Singapore
    Posts
    34

    Re: application jus exits when selected

    hmmm...still the same and the errors are still there...

  7. #7
    Registered User
    Join Date
    Jan 2007
    Location
    Singapore
    Posts
    34

    Re: application jus exits when selected

    hi ticktock,

    thanks man..it works...as in there are no more error msgs...however, the application still exits and shuts down the emulator when selected..can u advise me please..??

    thanku..??

  8. #8
    Super Contributor
    Join Date
    Mar 2004
    Location
    Singapore
    Posts
    9,968

    Re: application jus exits when selected

    But the Question is where it is Exiting on Which Line. With out that how can we Help you.

  9. #9
    Registered User
    Join Date
    Jan 2007
    Location
    Singapore
    Posts
    34

    Re: application jus exits when selected

    hmm...how can i find out..??

  10. #10
    Super Contributor
    Join Date
    Mar 2004
    Location
    Singapore
    Posts
    9,968

    Re: application jus exits when selected

    If you are doing on Emulator then use IDE Debug, if on device then use RFileLogger or Device Debug using Carbide.C++

  11. #11
    Registered User
    Join Date
    Jan 2007
    Location
    Singapore
    Posts
    34

    Re: application jus exits when selected

    Thread [Thread id: 7196] (Suspended: Signal 'Exception 5' received. Description: Access Violation.)
    20 0x60023C08( EUSER.DLL )() 0x60023c08
    19 0x60029DF7( EUSER.DLL )() 0x60029df7
    18 0x4A743F3F( MSGS.DLL )() 0x4a743f3f
    17 0x4A749C93( MSGS.DLL )() 0x4a749c93
    16 0xE3421D4( SMCM.DLL )() 0x0e3421d4
    15 0xE34230C( SMCM.DLL )() 0x0e34230c
    14 0xE341E9F( SMCM.DLL )() 0x0e341e9f
    13 0x4A7755A5( MSGS.DLL )() 0x4a7755a5
    12 0x4A775522( MSGS.DLL )() 0x4a775522
    11 CSmsEngine::ConstructL() at C:\Symbian\Carbide\FYP\SpoofWarn\src\SmsEngine.cpp:47 0x0e3110cb
    10 CSmsEngine::NewL() at C:\Symbian\Carbide\FYP\SpoofWarn\src\SmsEngine.cpp:30 0x0e31104f
    9 CSpoofWarnAppUi::ConstructL() at C:\Symbian\Carbide\FYP\SpoofWarn\src\SpoofWarnAppUi.cpp:37 0x0e3114db
    8 0x75306C62( EIKCORE.DLL )() 0x75306c62
    7 0x75306C8D( EIKCORE.DLL )() 0x75306c8d
    6 0x7530D1F0( EIKCORE.DLL )() 0x7530d1f0
    5 0x7530655D( EIKCORE.DLL )() 0x7530655d
    4 0x753065EA( EIKCORE.DLL )() 0x753065ea
    3 0x6001C9FD( EUSER.DLL )() 0x6001c9fd
    2 0x5B0105F7( EKERN2.DLL )() 0x5b0105f7
    1 0x7C80B683( KERNEL32.dll )() 0x7c80b683


    hmm...i think this is wat i see..during the debugging process....the rest nothing changes...

  12. #12
    Super Contributor
    Join Date
    Mar 2004
    Location
    Singapore
    Posts
    9,968

    Re: application jus exits when selected

    If i am not Wrong then your CSmsEngine::ConstructL is leaving. You are using Carbide if you want you can Put a Break point and try to Debug on Emulator / Device.

  13. #13
    Registered User
    Join Date
    Jan 2007
    Location
    Singapore
    Posts
    34

    Re: application jus exits when selected

    okie sir, then how can i rectify this problem..??as in what do i need to do..??

    thank u so much for your help..

  14. #14
    Super Contributor
    Join Date
    Mar 2004
    Location
    Singapore
    Posts
    9,968

    Re: application jus exits when selected

    1st find out on which line you are getting Error.

  15. #15
    Registered User
    Join Date
    Jan 2007
    Location
    Singapore
    Posts
    34

    Re: application jus exits when selected

    okie..i have it...when i tried removingmy iEngine it seems to work just fine,..when i put iEngine in, it starts to happen again..

    heres what i have:

    void CSpoofWarnAppUi::ConstructL()
    {
    BaseConstructL();

    iEngine = CSmsEngine::NewL();

    iAppContainer = new (ELeave) CSpoofWarnContainer;
    iAppContainer->SetMopParent( this );
    iAppContainer->ConstructL( ClientRect() );
    AddToStackL( iAppContainer );
    }

    void CSpoofWarnAppUi::HandleCommandL(TInt aCommand)
    {

    switch ( aCommand )
    {
    case EAknSoftkeyListen:
    {
    TApaTaskList tasklist(iCoeEnv->WsSession());
    TApaTask task(tasklist.FindApp(_L("SpoofWarnApp")));
    task.SendToBackground();
    //CAknNoteDialog* note = CAknNoteDialog::NewL(CAknNoteDialog::EWarningTone);
    //TInt retCode = note->ExecuteLD();
    iEngine->HandleSessionEventL(TMsvSession aEvent, TAny* aArg1,TAny* aArg2, TAny* aArg3);
    }
    case EAknSoftkeyExit:

Similar Threads

  1. Launching a view of a diffrent application
    By nsivach in forum Symbian
    Replies: 3
    Last Post: 2007-03-22, 09:51
  2. Bringing application to foreground
    By ash_bhatia in forum Symbian User Interface
    Replies: 1
    Last Post: 2006-11-02, 13:39
  3. Replies: 0
    Last Post: 2005-05-28, 10:20
  4. Replies: 1
    Last Post: 2005-04-25, 06:48
  5. Replies: 0
    Last Post: 2003-02-03, 08:08

Posting Permissions

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