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
This archive was generated by hypermail 2b29 : Tue Jan 04 2000 - 00:43:28 MET