[CONNECT U10 MDL] mdlBspline_extractCurve() is missing

Hi,

actually I'm migrating a V8i-MDL to Connect.

Linking my MDL App with mdlbltin.lib, results in a LNK2019 error, Symbol "__imp_mdlBspline_extractCurve" is missing.

This function is contained in msbspline.fdf, so compiling works fine, but mdlBspline_extractCurve() seems not to be compiled into Microstation. It is missing in the ustation.dll, when I open this file with the Visual Studio Dependency Walker.

I have to stroke a Bspline-Curve contained in an element descriptor. In my V8i-MDL I did this calling mdlBspline_extractCurve() first, filling in a MSBsplineCurve structure, and then call mdlBspline_evaluateCurve() to stroke the curve.

How is this task solved on Connect?

Tom

Parents
  • ,

    In addition to Jon's correct and helpful advice to start to move and improve your code using the new and robust C++ classes, you should still be able (for now until potentially deprecated) to use mdlBspline_extractCurve() given the following Header and Static Library referenced are included:

    C:\PROGRA~1\Bentley\MICROS~2\examples>sdkinc
    
    C:\PROGRA~1\Bentley\MICROS~2\include>s mdlBspline_extractCurve *
    Mstn\MdlApi\msbsplin.fdf:1274:MSCORE_EXPORT int      mdlBspline_extractCurve
    Mstn\MdlApi\msbsplin.fdf:1415:* @see   mdlBspline_extractCurve
    Mstn\MdlApi\msbsplin.fdf:3065:MSCORE_EXPORT int     mdlBspline_extractCurveNormal
    
    C:\PROGRA~1\Bentley\MICROS~2\include>sdklib
    
    C:\PROGRA~1\Bentley\MICROS~2\library>sb mdlBspline_extractCurve *
    mdlbltin.lib

    HTH,
    Bob



Reply
  • ,

    In addition to Jon's correct and helpful advice to start to move and improve your code using the new and robust C++ classes, you should still be able (for now until potentially deprecated) to use mdlBspline_extractCurve() given the following Header and Static Library referenced are included:

    C:\PROGRA~1\Bentley\MICROS~2\examples>sdkinc
    
    C:\PROGRA~1\Bentley\MICROS~2\include>s mdlBspline_extractCurve *
    Mstn\MdlApi\msbsplin.fdf:1274:MSCORE_EXPORT int      mdlBspline_extractCurve
    Mstn\MdlApi\msbsplin.fdf:1415:* @see   mdlBspline_extractCurve
    Mstn\MdlApi\msbsplin.fdf:3065:MSCORE_EXPORT int     mdlBspline_extractCurveNormal
    
    C:\PROGRA~1\Bentley\MICROS~2\include>sdklib
    
    C:\PROGRA~1\Bentley\MICROS~2\library>sb mdlBspline_extractCurve *
    mdlbltin.lib

    HTH,
    Bob



Children