Click here to Skip to main content
15,890,512 members
Please Sign up or sign in to vote.
5.00/5 (1 vote)
See more:
When do we need to derive a class from CObject ? Also there are some macros DECLARE_DYNCREATE etc etc..when & why are they used?
Posted

The Links below will give you a good idea of CObject

CObject-MSDN[^]

You can look at the functionality of CObject also. Its available in the link provided above.
 
Share this answer
 
One should think of deriving from CObject if they want functionalities like serialization or dynamic creation support for their clases.

DECLARE_DYNCREATE macro helps to support this dynamic creation process.Check here on how to utiliz this
http://msdn.microsoft.com/en-us/library/56302tyt(v=vs.80).aspx[^]
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900