Re: MDI forms and Dlls (visual C++ 2005)
- From: "Fisherking" <anders.mackey@xxxxxxxxx>
- Date: 22 Jul 2006 01:27:43 -0700
Okey, Nobody?
hmm. I have almost made it but there is one problem.
I can get the parent form and all it classes, but I cant cast the Form
I recieve to a MainForm (as my parent form is called). And if I try I
to #include "MainForm.h" I create a circular dependency and we all know
that C++ does not allow this (without workarounds)
I dont have access to the code right now, but I have tried something
like this:
safe_cast<MainForm ^ >(this->MdiParent);
But the compiler does not know about the MainForm class!
.
- Follow-Ups:
- Re: MDI forms and Dlls (visual C++ 2005)
- From: Alex Blekhman
- Re: MDI forms and Dlls (visual C++ 2005)
- References:
- MDI forms and Dlls (visual C++ 2005)
- From: Fisherking
- MDI forms and Dlls (visual C++ 2005)
- Prev by Date: Re: Solved by myself.
- Next by Date: Re: Coding and Compiling older vc++6 projects and code in VS2005.
- Previous by thread: MDI forms and Dlls (visual C++ 2005)
- Next by thread: Re: MDI forms and Dlls (visual C++ 2005)
- Index(es):