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

CDL generated header on WNT

Anonymous's picture


The CDL compiler generates the CasCade header files.

The "Handle" macro is not understood by the VisualC++ Class View. ( the Class view cannot see the macro : #define Handle(ClassName) Handle_##ClassName ) One solution is , in the header files , to generate the code as :

void MyFunc( const Handle_Geom_Curve& aCurve); and not :

void MyFunc( const Handle(Geom_Curve)& aCurve);

The first solution is not a problem for VisualC++, because the class Handle_Geom_Curve exists, and not the Handle(Geom_Curve) , and for CasCade , it is the same.

It will be good if you , in Matra, you change the Header file generator to allow that.

Best Regards,


Omar Msaaf's picture

When i try to create my Viewer under the View Class which seems more logical in a MFC philosophy, i get an error, meanwhile the same lines token from the sample project given by Matra and who are written in the Doc file don't create any error. I've got an error when i type these lines in my header, in the declaration of my View class: >>>>> And here is the line that created the pb : Handle_V3d_Viewer GetViewer(){return myViewer;); So where is the pb ? And if there is a pb how to solve it ? Thanks you folks for your help...

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.