When I include the header file of the parent form, it throws me an error, that the current class is not declared in the parent form. What I mean is:
I have the parent form
#include "childForm.h"
class parentForm
{
...
childForm ch ;
} ;
and the child form
#include "parentForm.h"
class childForm
{
...
} ;
When I add #include "parentForm.h", then it says that it doesn't recognize the childForm type in the declaration of the parentForm. Obviously there is a confilct. Do you know some way to overcome it ?




Reply With Quote
Bookmarks