×

Discussion Board

Results 1 to 15 of 15
  1. #1
    Regular Contributor
    Join Date
    Mar 2003
    Posts
    124

    hOW IS POSSIBLE?????

    I TRY TO RUN A PROGRAM LIKE MINIMAL DIALOG!IS ANYBODY AT NOKIA WHO KNOW WHAT IS THE PROBLEM??

    LOOK AT MY MMP FILE:
    // George1.mmp
    //

    TARGET George1.app
    TARGETTYPE app
    UID 0x100039ce 87645329
    TARGETPATH \system\apps\George1
    SOURCEPATH ..\gui
    SOURCE George1.cpp
    RESOURCE George1.rss
    USERINCLUDE ..\inc
    SYSTEMINCLUDE \epoc32\include
    LIBRARY George1eng.lib
    LIBRARY euser.lib
    LIBRARY gdi.lib
    LIBRARY apparc.lib
    LIBRARY cone.lib
    LIBRARY eikcore.lib

    LIBRARY eikdlg.lib
    LIBRARY eikcoctl.lib

    i have in mmp gdi.lib and all thet the program need!

    and i have externals errors:


    GEORGE1.obj : error LNK2001: unresolved external symbol "protected: virtual void __thiscall CEikDialog::PrepareContext(class CWindowGc &)const " (?PrepareContext@CEikDialog@@MBEXAAVCWindowGc@@@Z)
    GEORGE1.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall CEikDialog::GetCustomAutoValue(void *,int,class CCoeControl const *)" (?GetCustomAutoValue@CEikDialog@@UAEXPAXHPBVCCoeControl@@@Z)
    GEORGE1.obj : error LNK2001: unresolved external symbol "public: virtual struct SEikControlInfo __thiscall CEikDialog::CreateCustomControlL(int)" (?CreateCustomControlL@CEikDialog@@UAE?AUSEikControlInfo@@H@Z)
    GEORGE1.obj : error LNK2001: unresolved external symbol "protected: virtual void __thiscall CEikDialog::LineChangedL(int)" (?LineChangedL@CEikDialog@@MAEXH@Z)
    GEORGE1.obj : error LNK2001: unresolved external symbol "protected: virtual void __thiscall CEikDialog::PageChangedL(int)" (?PageChangedL@CEikDialog@@MAEXH@Z)
    GEORGE1.obj : error LNK2001: unresolved external symbol "protected: virtual void __thiscall CEikDialog::PrepareForFocusTransitionL(void)" (?PrepareForFocusTransitionL@CEikDialog@@MAEXXZ)
    GEORGE1.obj : error LNK2001: unresolved external symbol "protected: virtual void __thiscall CEikDialog::HandleControlEventL(class CCoeControl *,enum MCoeControlObserver::TCoeEvent)" (?HandleControlEventL@CEikDialog@@MAEXPAVCCoeControl@@W4TCoeEvent@M
    CoeControlObserver@@@Z)
    GEORGE1.obj : error LNK2001: unresolved external symbol "private: virtual void __thiscall CEikDialog::Reserved_4(void)" (?Reserved_4@CEikDialog@@EAEXXZ)
    GEORGE1.obj : error LNK2001: unresolved external symbol "private: virtual void __thiscall CEikDialog::Reserved_3(void)" (?Reserved_3@CEikDialog@@EAEXXZ)
    GEORGE1.obj : error LNK2001: unresolved external symbol "protected: virtual void __thiscall CEikDialog::SetSizeAndPosition(class TSize const &)" (?SetSizeAndPosition@CEikDialog@@MAEXABVTSize@@@Z)
    GEORGE1.obj : error LNK2001: unresolved external symbol "protected: virtual void __thiscall CEikDialog::HandleInteractionRefused(int)" (?HandleInteractionRefused@CEikDialog@@MAEXH@Z)
    GEORGE1.obj : error LNK2001: unresolved external symbol "protected: virtual void __thiscall CEikDialog::HandleControlStateChangeL(int)" (?HandleControlStateChangeL@CEikDialog@@MAEXH@Z)
    GEORGE1.obj : error LNK2001: unresolved external symbol "protected: virtual void __thiscall CEikDialog::SetInitialCurrentLine(void)" (?SetInitialCurrentLine@CEikDialog@@MAEXXZ)
    GEORGE1.obj : error LNK2001: unresolved external symbol "protected: virtual void __thiscall CEikDialog::PostLayoutDynInitL(void)" (?PostLayoutDynInitL@CEikDialog@@MAEXXZ)
    GEORGE1.obj : error LNK2001: unresolved external symbol "protected: virtual void __thiscall CEikDialog::PreLayoutDynInitL(void)" (?PreLayoutDynInitL@CEikDialog@@MAEXXZ)
    GEORGE1.obj : error LNK2001: unresolved external symbol "protected: virtual int __thiscall CEikDialog::OkToExitL(int)" (?OkToExitL@CEikDialog@@MAEHH@Z)
    GEORGE1.obj : error LNK2001: unresolved external symbol "public: virtual int __thiscall CEikDialog::ExecuteLD(int)" (?ExecuteLD@CEikDialog@@UAEHH@Z)
    GEORGE1.obj : error LNK2001: unresolved external symbol "private: virtual void __thiscall CEikDialog::Reserved_2(void)" (?Reserved_2@CEikDialog@@EAEXXZ)
    GEORGE1.obj : error LNK2001: unresolved external symbol "private: virtual void __thiscall CEikDialog::Reserved_1(void)" (?Reserved_1@CEikDialog@@EAEXXZ)
    GEORGE1.obj : error LNK2001: unresolved external symbol "private: virtual void __thiscall CEikDialog::Draw(class TRect const &)const " (?Draw@CEikDialog@@EBEXABVTRect@@@Z)
    GEORGE1.obj : error LNK2001: unresolved external symbol "private: virtual class CCoeControl * __thiscall CEikDialog::ComponentControl(int)const " (?ComponentControl@CEikDialog@@EBEPAVCCoeControl@@H@Z)
    GEORGE1.obj : error LNK2001: unresolved external symbol "private: virtual int __thiscall CEikDialog::CountComponentControls(void)const " (?CountComponentControls@CEikDialog@@EBEHXZ)
    GEORGE1.obj : error LNK2001: unresolved external symbol "private: virtual void __thiscall CEikDialog::SizeChanged(void)" (?SizeChanged@CEikDialog@@EAEXXZ)
    GEORGE1.obj : error LNK2001: unresolved external symbol "private: virtual void __thiscall CEikDialog::FocusChanged(enum TDrawNow)" (?FocusChanged@CEikDialog@@EAEXW4TDrawNow@@@Z)
    GEORGE1.obj : error LNK2001: unresolved external symbol "public: virtual class TCoeInputCapabilities __thiscall CEikDialog::InputCapabilities(void)const " (?InputCapabilities@CEikDialog@@UBE?AVTCoeInputCapabilities@@XZ)
    GEORGE1.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall CEikDialog::GetColorUseListL(class CArrayFix<class TCoeColorUse> &)const " (?GetColorUseListL@CEikDialog@@UBEXAAV?$CArrayFix@VTCoeColorUse@@@@@Z)
    GEORGE1.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall CEikDialog::HandleResourceChange(int)" (?HandleResourceChange@CEikDialog@@UAEXH@Z)
    GEORGE1.obj : error LNK2001: unresolved external symbol "private: virtual class TSize __thiscall CEikDialog::MinimumSize(void)" (?MinimumSize@CEikDialog@@EAE?AVTSize@@XZ)
    GEORGE1.obj : error LNK2001: unresolved external symbol "public: virtual int __thiscall CEikBorderedControl::HasBorder(void)const " (?HasBorder@CEikBorderedControl@@UBEHXZ)
    GEORGE1.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall CEikBorderedControl::SetAdjacent(int)" (?SetAdjacent@CEikBorderedControl@@UAEXH@Z)
    GEORGE1.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall CEikDialog::ActivateL(void)" (?ActivateL@CEikDialog@@UAEXXZ)
    GEORGE1.obj : error LNK2001: unresolved external symbol "private: virtual void __thiscall CEikDialog::ConstructFromResourceL(class TResourceReader &)" (?ConstructFromResourceL@CEikDialog@@EAEXAAVTResourceReader@@@Z)
    GEORGE1.obj : error LNK2001: unresolved external symbol "public: virtual enum TKeyResponse __thiscall CEikDialog::OfferKeyEventL(struct TKeyEvent const &,enum TEventCode)" (?OfferKeyEventL@CEikDialog@@UAE?AW4TKeyResponse@@ABUTKeyEvent@@W4TEventCode@
    @@Z)
    GEORGE1.obj : error LNK2001: unresolved external symbol "public: __thiscall CEikDialog::CEikDialog(void)" (??0CEikDialog@@QAE@XZ)
    GEORGE1.obj : error LNK2001: unresolved external symbol "public: virtual __thiscall CEikDialog::~CEikDialog(void)" (??1CEikDialog@@UAE@XZ)
    \Symbian\6.0\NokiaCPP\EPOC32\BUILD\SYMBIAN\6.0\NOKIACPP\EPOC32EX\GEORGE1\GUI\GEORGE1\WINS\UDEB\GEORGE1.APP : fatal error LNK1120: 35 unresolved externals
    NMAKE : fatal error U1077: 'link.exe' : return code '0x460'

    Can somebody help me! is possible that a simple program like this to be a problem?????

  2. #2
    Regular Contributor
    Join Date
    Mar 2003
    Posts
    124

    again and again and again and again and again!!!

    nokia is somebody who know what can be the problem?
    i'm stressed because i do not know how something else to do!!!

  3. #3
    Regular Contributor
    Join Date
    Mar 2003
    Posts
    124

    Nokia AGAIN PLS HELP ME!!!!!!

    WHAT IS THE PROBLEM WITH MY DIALOG EXAMPLE ,I HAVE ALL IN MMP I HAVE ALL HEADERSBUT I HAVE EXTERNAL ERRORS!!!!

  4. #4
    Regular Contributor
    Join Date
    Mar 2003
    Posts
    124

    Hi!

    WHEN I HAVE A MULTIPAGE DIALOG AND FOR EXAMPLE IN PAGE 1 IWANT TO HEVE SOMETHING LIKE: PROMPT="NAME" AND I WANT TO ENTER A NAME!
    HOW TO DO?
    WHAT TYPE AND WHAT CONTROL?
    TXS!
    GEORGE!

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

    For example:

    to be something like:
    enter your name:

    not x coordonate?
    how to change to put a text there?

  6. #6
    Regular Contributor
    Join Date
    Mar 2003
    Posts
    124

    I want to make something like!

    i want to wrote with a dialog somethig like:
    Enter your name:
    Enter your adress:
    Enter your birthday:
    and i want to save it in a file!
    but my question is:is possible to enter text? Is iin symbian something like TEXT EDITOR? I know there is NUMBER EDITOR! bUT TEXT EDITOR?

  7. #7
    Registered User
    Join Date
    Mar 2003
    Location
    Gyor
    Posts
    236
    I know, there is an Editor example in the Series 60 SDK.
    I know it is well hidden.
    I know, there is an SDK help, and I know the *.hrh in the Include directory containing all kind of control type. Including editors "EDWIN"s.
    ... but did not know yet, that reading and understanding a documented class after the half of them is clear (number editor) is that hard for a C++ programmer...

    For Saving, it depends on device, there is a Red book called Symbian Programming for more information.

  8. #8
    Regular Contributor
    Join Date
    Mar 2003
    Posts
    393
    unresolved external symbol error occurs when a library is missing. Did you add a library to your mmp and not re-create your makefile using abld makefile vc6 (assuming your are using VC 6? If you add some libraries and did not create a new makefile you will get those errors.

    [N]/Forum Nokia
    Last edited by nmittal; 2003-04-07 at 11:45.

  9. #9
    Regular Contributor
    Join Date
    Mar 2003
    Posts
    124

    Ok Cleaner!

    I FIND IN C:\Symbian\6.0\NokiaCPP\UITestSource\Ckntest AN EXAMPLE tdialg0. but where is the .rss file and the .rsg file?

  10. #10
    Registered User
    Join Date
    Mar 2003
    Location
    Gyor
    Posts
    236
    OK! You do not use Series 60 SDK...

    YOU SHOULD MENTION!!! THERE IS DIFFERENT SYMBIAN SDKs which can "RUN A PROGRAM"

    So communicator... Yeah, that directory is tricky. I recommend this one instead:

    C:\Symbian\6.0\NokiaCPP\Epoc32Ex\CrystalUI\CustomDialog\

  11. #11
    Regular Contributor
    Join Date
    Mar 2003
    Posts
    124

    CLEANER!

    MY QUESTION IS :I WANT TO DO A PROGRAM LIKE A DIALOG, WHEN I WANT TO HAVE :
    ENTER YOUR NAME
    ENTERR YOUR ADRESS:

    iKNOW THERE IS NUMBER EDITOR!BUT THERE IS NO EXAMPLE TO SHOW ME HOW TO ENETER A TEXT IN DIALOG!
    TXS!

  12. #12
    Registered User
    Join Date
    Mar 2003
    Location
    Gyor
    Posts
    236
    Wow! Your capslock is still damaged, and your forum access right is not yet banned! You are lucky...

    Now, let me see that hidden SDK help again...

    "Find-and-replace dialog"
    ...
    DLG_LINE
    {
    id=ECidTestSpellEdwin;
    type=EEikCtRichTextEditor;
    prompt="Text";
    control=RTXTED
    {
    textlimit=1024;
    numlines=5;
    width=500;
    height=140;
    };
    }
    ...

    "Input frame"
    ...
    control = GTXTED
    ...

    "TEikStockControls":

    EEikCtEdwin (EDWIN)

    Save your data, when the "Save" CBA is selected. You have to define your own sidesoftkeys(CBA).

    IF YOU USE CAPSLOCK ANYMORE, YOUR USERNAME WILL BE BANNED.

    Thanks for your understanding,
    The Cleaner Service

  13. #13
    Regular Contributor
    Join Date
    Mar 2003
    Posts
    124

    ok!

    but in my .hrh file what to do? something like
    enum ....?what!because in sdk example isn;t about hrh file!!!
    sorry for my capslock!
    txs!

  14. #14
    Registered User
    Join Date
    Mar 2003
    Location
    Gyor
    Posts
    236

    hrh files

    There is a coding convention in Symbian OS:
    "Place Control IDs, and defines in .hrh files."

    Why you have to do? Hmm, the reason is not very detailed in Communicator SDK help, but in Series 60 SDK help. There is something in the SDK help at "How to define command IDs" chapter.

    Hope this link could help a bit:

    http://www.symbian.com/developer/tec...at%2Denum.html

    At your service,
    Cleaner

    ps.: There is a few good book about Symbian OS mentioned at Symbian site. Try to get them & they explain the Symbian development structure...

  15. #15
    Regular Contributor
    Join Date
    Mar 2003
    Posts
    124

    Cleaner Txs for what u give me!but ..

    but in example that u give me i have id=ECidTestSpellEdwin; for this how to define my enum

    in others sdk example for example in MultiPageDialog they says:
    id=EExampleControlIdFillColour;
    and they have:
    enum TExampleControlId
    {
    EExampleControlIdXEditor,
    EExampleControlIdYEditor,
    EExampleControlIdSizeEditor,
    EExampleControlIdFillColour
    };
    but in my case when i have id=ECidTestSpellEdwin how to look my enum?
    Txs!

Posting Permissions

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