Link to home
Start Free TrialLog in
Avatar of w00te
w00teFlag for United States of America

asked on

(Compiler Error) Pointer to incomplete class type not allowed

I have a place in my code where I'm using the syntax:

someClassPtr->someClassMethod();

someClassPtr is initialized with dynamic memory, and the method someClassMethod() is defined in the .h file and .cpp files correctly.  

I get the error "Pointer to incomplete class type is not allowed.    error #393"

Is there any common reason for this error -- any hints about where I may have made my typo? (I can't really post the code given the work nature, but I was hoping that someone could suggest a reason this error appears in code in general.)

Thanks for the help in advance!

-w00te
ASKER CERTIFIED SOLUTION
Avatar of evilrix
evilrix
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of w00te

ASKER

Good call, thank you evilrix :)
Avatar of w00te

ASKER

Worked perfectly.