w00te
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->someClassMet hod();
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
someClassPtr->someClassMet
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
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Worked perfectly.
ASKER