For all issues regarding the Forums use, please, refer to the Forum Rules.

Our Solutions

Need professional assistance?
Consider our:

Support Offerings


Need to speed up your development?
Have a look at our:

Samples & Tools


Need some functionality extending standard OCCT capabilities?
Check out our:

Adv. Components

Related pages

Slight modifed MFC Import/Export wont run properly

Derrek Curtis's picture

I am build ing a VS2010 application around Opencascade. I installed it got the MFC samples running and play around with it. The problem im having is that I have embedded the Import/Export code in my application everything works ( the viewer and such ) but when I import Iges or step I get an unhandled exception at:

void CColoredShapes::Add(const Quantity_NameOfColor aColor, const TopoDS_Shape& aShape)
m_colorMap.Bind(aShape, aColor);

m_shapelist is supposed to have myFirst and myLast initialized but mine version doesnt. As you can see Im using the code as written in my application. I cant not figure out what is going on here.

Any help would be great

Contact us

Attention: DO NOT use this form for all kind of request for the removal of your personal data. Please follow this link for such cases.