×

Discussion Board

Results 1 to 5 of 5
  1. #1
    Registered User
    Join Date
    Feb 2008
    Posts
    20

    undefined indentifier in CEikEdwin

    Hi people,

    When I try:
    Code:
    CEikEdwin* control = static_cast<CEikEdwin*>(ControlOrNull(ELoginId));
    I get undefined indentifier 'ELoginId'.

    Here, is my resource:
    Code:
    RESOURCE DIALOG r_login_dialog{
    	flags = EEikDialogFlagNoDrag | EEikDialogFlagCbaButtons | EEikDialogFlagWait;
    	buttons = R_AVKON_SOFTKEYS_OK_CANCEL;
    	items = {
    			DLG_LINE{
    				id = ELoginLabelId;
    				type = EEikCtLabel;
    				control = LABEL{
    					txt = LABEL_LOGIN_TEXT;
    				};
    			},
    			DLG_LINE{
    				id = ELoginId;
    				type = EEikCtEdwin;
    				control = EDWIN{
    					maxlength = 50;
    				};
    			}			
    	};
    }
    Do you now whats wrong?

    Thanks

  2. #2
    Nokia Developer Moderator
    Join Date
    Mar 2003
    Location
    Lempäälä/Finland
    Posts
    29,169

    Re: undefined indentifier in CEikEdwin

    check the SDK docs and the required header and add it to your cpp file.

  3. #3
    Registered User
    Join Date
    Feb 2008
    Posts
    20

    Re: undefined indentifier in CEikEdwin

    The headers and libs required are added to my project, but i´m still getting the same error. Can anyone help?

    thanks

  4. #4
    Nokia Developer Moderator
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    28,751

    Re: undefined indentifier in CEikEdwin

    ELoginId seems to be an identifier defined in your .hrh file (or it should be defined there if it is not). #include that file.

  5. #5
    Registered User
    Join Date
    Feb 2008
    Posts
    20

    Re: undefined indentifier in CEikEdwin

    It works, thanks

Similar Threads

  1. retrieve GSM cell id
    By ibec in forum Symbian Networking & Messaging (Closed)
    Replies: 312
    Last Post: 2012-06-10, 06:45
  2. mwldsym2.exe: Undefined symbol in Carbide.C++ 1.3
    By ValentinK in forum Carbide.c++ IDE and plug-ins (Closed)
    Replies: 4
    Last Post: 2008-03-14, 15:23
  3. carbide c++ can't find headers.!!
    By nokia_maniac in forum Carbide.c++ IDE and plug-ins (Closed)
    Replies: 29
    Last Post: 2007-12-19, 12:54
  4. illegal use of abstract class error...
    By kannabiran.krish in forum Symbian
    Replies: 7
    Last Post: 2007-08-17, 10:11
  5. file not found
    By praktikant in forum Symbian
    Replies: 16
    Last Post: 2007-05-09, 15:04

Posting Permissions

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