By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
445,918 Members | 2,294 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 445,918 IT Pros & Developers. It's quick & easy.

How to use CObject?

P: n/a
How do I properly use CObject? What include file do I need?

If I try to do this:
class TestClass : public CObject
{
public:
TestClass() {};
~TestClass() {};
}

It tells me that CObject is not a known type? Is it an MFC thing? I
kind of thought it was just a C++ thing.

Im using VS2005 if maybe there is some project setting I need to use?

Thanks!
Jun 10 '07 #1
Share this Question
Share on Google+
1 Reply


P: n/a
Bryan wrote:
How do I properly use CObject? What include file do I need?
It's an MFC thing, not a standard C++ class, try an MFC group.

--
Ian Collins.
Jun 10 '07 #2

This discussion thread is closed

Replies have been disabled for this discussion.