RE:CINT and MFC problem :(

Masaharu Goto (MXJ02154@nifty.ne.jp)
Tue, 02 Feb 1999 21:11:49 +0900


Devinim,

>What do you think about defining class for using from CINT with MFC as follow
s;>
>class CChMenu
>{
>public:
> CChMenu();
> .
> .
> .
>#if !defined(__CINT__)
> CMenu m_Menu;
>#endif // !defined(__CINT__)
>};
>
>...and I will use other class as CMenu (for ex: CDialog, CEdit, CButton
>etc...), is it good idea ?
>or what do you advice me ? :)))

I think this one is slightly safer than using hidden inheritance. May not be
a big difference though.

I encapsurated subset of Win32API, Xlib, Tcl/Tk, Motif, OpenGL, STL and
other library,so far. Embedding such major library is a heavy work.
Unfortunately, I haven't tried anything about MFC yet. There must be a lot
of cut and try. At least, I can say that your approach looks good to me.
Using a wrapper class for MFC and hide the real MFC implimentation from
CINT scope is the way I would take too.

Masaharu Goto