×

Discussion Board

Results 1 to 4 of 4
  1. #1
    Registered User
    Join Date
    Dec 2010
    Posts
    2

    illegal initialization

    I am using SymbianOSUnit Testing Tool for Testing a dll. I have added symbianosunit.mm file in dll group folder. I created a TestHeader.h and TestSource.cpp for that. Every thing is filne.

    When im building it its showing one error 'Illegal Initialization"
    Please help

    Thanks in Advance.
    Regards,
    Sriram

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

    Re: illegal initialization

    can you show the excat error string ? and if it is pointing to a code line, can you also copy-paste the line of code here as well.

  3. #3
    Registered User
    Join Date
    Dec 2010
    Posts
    2

    Re: illegal initialization

    Problem is solved now.

    in Begining i was not testing a single method. When i test a dummy method then error is removed.

    I just write void TestCase_DLLExternalize_UT_001() in TestHeader.h

    and void CTest::TestCase_DLLExternalize_UT_001()
    {

    }

    in TestSource.cpp .



    Thnaks for Responce.

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

    Re: illegal initialization

    If this error report comes from Carbide.c++, you should check the Console view if it contains a more detailed error message.

Similar Threads

  1. initialization problem
    By ranjini in forum Symbian
    Replies: 3
    Last Post: 2010-11-03, 10:46
  2. initialization problems
    By ranjini in forum Symbian
    Replies: 12
    Last Post: 2010-10-13, 09:33
  3. initialization
    By hicheri in forum Symbian User Interface
    Replies: 2
    Last Post: 2004-08-25, 22:17
  4. CAknListQueryDialog initialization
    By rgesikov in forum Symbian User Interface
    Replies: 1
    Last Post: 2002-09-19, 09:19
  5. Initialization error
    By 1234z1 in forum Symbian
    Replies: 1
    Last Post: 2002-08-21, 15:24

Posting Permissions

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