Open CASCADE, the 3D modelling kernel
3D modeling & numerical simulation

Search the Forums
See All Topics
Open CASCADEShowroomGet it!Developer CornerSupport and ProductsAbout us
Technical overview
Areas of use
Advantages
FAQ
Screenshots
Shape factory
Shape gallery
Demonstrations
What's new
System requirements
Download Center
Public license
Documentation
Getting started
Forums
Open Source community
Training and e-learning
A-la Carte Support
Value-added software
Complementary Components
Customer Corner
Company Profile
Marketing Materials
Contact Us
News
Home / Developer Corner / Forums / Usage issues / VS2010 OCC6.6.0 & Visual3d_Layer DrawText

VS2010 OCC6.6.0 & Visual3d_Layer DrawText

VS2010 OCC6.6.0 & Visual3d_Layer DrawText
Marco Balen 2013/05/10 20:15
Hello,
compiling the new release I get an error with missing DrawText method of Visual3d_Layer class.
It seems that there is problem with other DrawText methods of windows.

To avoid the problem I have undefined the DrawText method in Visual3d_Layer.hxx.
#ifdef WNT
#undef DrawText
#endif
Standard_EXPORT void DrawText(const Standard_CString AText,const Standard_Real X,const Standard_Real Y,const Standard_Real AHeight) ;

I think this is not the best way to solve the problem.

Any suggestion ?
 
 
Latest news
  • Open CASCADE Technology 6.7.1 is available for download!
  • Open CASCADE Technology 6.7.0 is available for download!
  • Open CASCADE Technology 6.6.0 is available for download!

  • © OPEN CASCADE 2000 - 2014  |  Search  |  Contacts   |  Site map