I'm developing an MFC extension dll which uses OpenCASCADE,
and I'm getting a really strange compilation error at the following line
Handle(Geom_BezierCurve) curve = new Geom_BezierCurve(CurvePoles);
saying that 'Standard_Transient::operator new' doesn't accept 3 arguments.
I really don't understand what's going on here, the exact same code is working on regular dll, any idea?