Hi,
after I converted an older VC6.0 code into VC 2008 I get the following compilation error. This error didn't occure in VC6.0:
1>c:\Program Files\Microsoft Visual Studio 9.0\VC\atlmfc\include\Afxwin.h(1936) : error C2248: "CObject::CObject": no access to private members of its declaration in the class CObject.
1> c:\Program Files\Microsoft Visual Studio 9.0\VC\atlmfc\include\afx.h(551): see Deklaration von 'CObject::CObject'
1> c:\Program Files\Microsoft Visual Studio 9.0\VC\atlmfc\include\afx.h(522): see Deklaration von 'CObject'
1> This diagnostic occurred in the compiler generated function "CCmdTarget::CCmdTarget(const CCmdTarget &)"
Visual studio runs on Vista 32 Bit Professional.
I guess it has soemthing to do with global settings.
Regards