The Origin C curvebase class is an abstract base class used for polymorphic handling of Curve related template class types. Consequently, Origin C objects of type curvebase can not be constructed. Derived classes, such as Curve, inherit curvebase class methods and should be used instead. The curvebase class is derived from vectorbase class from which it inherits methods and properties.
Curve crvCopy( wks, 0, 1);
GraphLayer gl = gp.Layers();
int nPlot = gl.AddPlot(crvCopy, IDM_PLOT_SCATTER);