Compile Error: VS2005 C++ and OpenCascade sample

Hi,
i try to load with VS2005(beta2) C++ the source code of the sample MFC (Geometry.dsw) but i cant compile, i get a lot of C2248 errors like the following:

error C2248: 'Graphic2d_Buffer::Draw' : cannot access private member declared in class 'Graphic2d_Buffer'

Can any one give me a hint?

Thanks

sergebak's picture

making them public solves the problem : it works so I didnt investigate deeper ...