Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

CDumpContext class compiling problem

12 views
Skip to first unread message

beppe03

unread,
May 21, 2007, 12:40:00 PM5/21/07
to
Hi to everyone,
I'don't understand why this fragment of code doesn't work:

...
#include <afx.h>
class CMainFrame : public CFrameWnd
{
...
#ifdef _DEBUG
virtual void AssertValid() const;
virtual void Dump(CDumpContext& dc) const; //this is line 42
#endif
...

this code gives me the following error:

1>c:\...\MainFrm.h(42) :
error C2061: syntax error : identifier 'CDumpContext'

Thanks & Bye!

0 new messages