×

Discussion Board

Results 1 to 7 of 7
  1. #1
    Registered User
    Join Date
    Jun 2003
    Posts
    18

    illegal use of incomplete type

    Hello,

    Does anybody knows why could I get the error:

    "Illegal use of incomplete struct/union/class MHTTPTransactionCallBack" ????/

    I did included
    <http\MHTTPAuthenticationCallback.h>

    at my xxx.h and then included xxx.h in another file....

    what is wrong?????

  2. #2
    Registered User
    Join Date
    Aug 2003
    Location
    Oulu, Finland
    Posts
    1,122
    You need http/mhttptransactioncallback.h, not mhttpauthenticationcallback.h.

    Lauri

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

    Re: illegal use of incomplete type

    Hi,
    It could also be because you are including a forward declaration ie..
    class CClassA;
    from file classB.h
    where the full listing of CClassA is in file classA.h
    class CClassA
    {
    ...
    };

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

    Re: illegal use of incomplete type

    Quote Originally Posted by hegsie
    Hi,
    It could also be because you are including a forward declaration ie..
    class CClassA;
    from file classB.h
    where the full listing of CClassA is in file classA.h
    class CClassA
    {
    ...
    };
    Yeah, Amattiuz must be happy now; after 2.5 desperate years of waiting.

  5. #5
    Registered User
    Join Date
    Oct 2007
    Posts
    2

    Re: illegal use of incomplete type

    I had the same problem and solved it with the following include, before any other include:
    #include "techview/eikprogi.h"

    I did it after reading the doc at:
    http://www.symbian.com/developer/tec...InfoClass.html

  6. #6
    Registered User
    Join Date
    Oct 2007
    Posts
    2

    Re: illegal use of incomplete type

    Sorry, it wasn't exactly the same problem , but maybe the solution is similar

    Quote Originally Posted by eruiz0 View Post
    I had the same problem and solved it with the following
    include, before any other include:
    #include "techview/eikprogi.h"

    I did it after reading the doc at:
    http://www.symbian.com/developer/tec...InfoClass.html

  7. #7
    Registered User
    Join Date
    Apr 2008
    Posts
    10

    Re: illegal use of incomplete type

    LALA is right.

    #include <http\mhttptransactioncallback.h> should be added

    Regards,
    Tanvir

Posting Permissions

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