×

Discussion Board

Results 1 to 9 of 9
  1. #1
    Registered User
    Join Date
    Dec 2006
    Posts
    8

    Smile StringLoader::LoadLC() Error????

    code :
    RESOURCE TBUF r_kfc_calendar_icon_file_name
    {
    buf = "\\system\\apps\\KFC\\kfcCalendar.mbm" ;
    }

    HBufC* iconFileName;
    iconFileName =
    StringLoader::LoadLC(R_KFC_CALENDAR_ICON_FILE_NAME);

    error:
    Undefined symbol: 'class HBufC16 * StringLoader::LoadLC(int, class CCoeEnv *) (?LoadLC@StringLoader@@SAPAVHBufC16@@HPAVCCoeEnv@@@Z)' referenced from 'void CKFCContainer::SetupCalendarIconL(void) (?SetupCalendarIconL@CKFCContainer@@AAEXXZ)'

    i'm jackaroo , i don't know it what is problem ?

    would master-hand answer !! thank U!

  2. #2
    Nokia Developer Champion
    Join Date
    Mar 2006
    Location
    Helsinki, Finland
    Posts
    8,335

    Smile Re: StringLoader::LoadLC() Error????

    Hi,

    StringLoader Class Reference:
    Link against: CommonEngine.lib //add this in your .mmp file
    #include <StringLoader.h>//add this in your .h file
    Regards.
    Kiran.

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

    Smile Re: StringLoader::LoadLC() Error????

    thank U for answer.
    i have added code. but, as not code

    Code:
    i am  kfcContainer.cpp  file  include header file :
    
    #include "KFCContainer.h"
    #include <aknlists.h>
    #include <barsread.h>
    #include <akniconarray.h>
    #include <kfc.rsg>
    #include <kfc.mbg>
    #include <uikon.hrh> // TKeyCode #defines
    #include <StringLoader.h> // StringLoader
    
    i am .mmp file 
    
    SOURCEPATH ..\src
    SOURCE  KFCApp.cpp 
    SOURCE  KFCAppui.cpp
    SOURCE  KFCDocument.cpp
    SOURCE  KFCContainer.cpp
    
    SOURCEPATH ..\data
    RESOURCE KFC.rss
    RESOURCE KFC_caption.rss
    LANG     01 
    
    USERINCLUDE . 
    USERINCLUDE ..\inc
    
    SYSTEMINCLUDE   . \epoc32\include
    
    LIBRARY euser.lib apparc.lib cone.lib eikcore.lib 
    LIBRARY eikcoctl.lib avkon.lib CommonEngine.lib  
    
    Link against: CommonEngine.lib 
    
    START BITMAP 	kfc.mbm
    HEADER
    TARGETPATH		\system\apps\kfc
    SOURCEPATH		..\Bitmap
    SOURCE			C12 grid_figure.bmp
    SOURCE			C12 grid_figure_mask.bmp
    SOURCE			C12 grid_flag.bmp
    SOURCE			C12 grid_flag_mask.bmp
    END

    Regards.

  4. #4
    Nokia Developer Champion
    Join Date
    Mar 2006
    Location
    Helsinki, Finland
    Posts
    8,335

    Smile Re: StringLoader::LoadLC() Error????

    Hello dear,

    Link against: CommonEngine.lib
    It's not like that.

    I could see that it is already there in your .mmp file.
    So remove the line: Link against: CommonEngine.lib from your .mmp file.

    Regards.
    Kiran.

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

    Re: StringLoader::LoadLC() Error????

    hi !

    i have removed that line . but just the same error ! 呜呜...( mean crying )

    Regards.
    Last edited by sipi_chanchu; 2006-12-29 at 09:29.

  6. #6
    Nokia Developer Champion
    Join Date
    Mar 2006
    Location
    Helsinki, Finland
    Posts
    8,335

    Smile Re: StringLoader::LoadLC() Error????

    Hi,
    Quote Originally Posted by sipi_chanchu
    hi !

    i have removed that line . but just the same error ! 呜呜...( mean crying )

    Regards.
    When you change something in .mmp file, you need to rebuild your project.

    May i ask you which IDE you are using and which is the SDK?

    Regards.
    Kiran.

  7. #7
    Registered User
    Join Date
    Dec 2006
    Posts
    8

    Re: StringLoader::LoadLC() Error????

    hi !

    IDE is Carbide 1.1, SDK is s60 2.0 cw



    Regards.

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

    Re: StringLoader::LoadLC() Error????

    Hi,
    Quote Originally Posted by sipi_chanchu
    hi !

    IDE is Carbide 1.1, SDK is s60 2.0 cw
    Regards.
    After making changes in .mmp file, reimport/rebuild your project.

    Regards.
    Kiran.

  9. #9
    Registered User
    Join Date
    Dec 2006
    Posts
    8

    Smile Re: StringLoader::LoadLC() Error????

    Hi,
    Quote Originally Posted by kiran10182
    Hi,


    After making changes in .mmp file, reimport/rebuild your project.

    Regards.
    Kiran.

    Greate ! succeeseful ! thank U!

    May i ask you other question ?

    i want to write calendar grid as nokia phone calendar .
    but i don't know how create by CAknCaleMonthStyleGrid ?

    嘿嘿..( smile , expression by chinese )

Similar Threads

  1. XMl Parser Implementation for Symbian
    By ittiam in forum Symbian
    Replies: 26
    Last Post: 2009-09-16, 05:26
  2. stupid error!
    By bojkar in forum Symbian
    Replies: 1
    Last Post: 2006-12-14, 05:47
  3. Replies: 1
    Last Post: 2006-09-08, 07:05
  4. 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
  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
  •