Quantcast
Channel: Visual Studio General Questions forum
Viewing all articles
Browse latest Browse all 21115

Converting and compiling an vc6.0 with Visual C++ 2008

$
0
0

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


Viewing all articles
Browse latest Browse all 21115

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>