a_mlt1
06-25-2004, 12:30 AM
Hi Guys,
I am working on Porting from VC++ (version 6) to Kdevelop in Linux.
The source code has several of the inbuilt constructs of MFC.
eg:
Some of the classes are declared of type - CList, CObject.
Just a small information about the CObject class:
CObject is the principal base class for the Microsoft Foundation Class Library. It serves as the root not only for library classes such as CFile and CObList, but also for the classes that you write. CObject provides basic services, including
Serialization support
Run-time class information
Object diagnostic output
Compatibility with collection classes
Note that CObject does not support multiple inheritance. Your derived classes can have only one CObject base class, and that CObject must be leftmost in the hierarchy. It is permissible, however, to have structures and non-CObject-derived classes in right-hand multiple-inheritance branches.
Clist class inherits from CObject Class.
ow can the usage of such classes be replaced in the source Code.
Eg: Clist* abc;
What should be done to make this statement working in Linux.
Can any one suggest me on this issue.
Cheers
a_mlt1
I am working on Porting from VC++ (version 6) to Kdevelop in Linux.
The source code has several of the inbuilt constructs of MFC.
eg:
Some of the classes are declared of type - CList, CObject.
Just a small information about the CObject class:
CObject is the principal base class for the Microsoft Foundation Class Library. It serves as the root not only for library classes such as CFile and CObList, but also for the classes that you write. CObject provides basic services, including
Serialization support
Run-time class information
Object diagnostic output
Compatibility with collection classes
Note that CObject does not support multiple inheritance. Your derived classes can have only one CObject base class, and that CObject must be leftmost in the hierarchy. It is permissible, however, to have structures and non-CObject-derived classes in right-hand multiple-inheritance branches.
Clist class inherits from CObject Class.
ow can the usage of such classes be replaced in the source Code.
Eg: Clist* abc;
What should be done to make this statement working in Linux.
Can any one suggest me on this issue.
Cheers
a_mlt1