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
Tom Torell,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
Bob,unfortunately I'm still not able to link my application; I assume my version of mblbltin.lib does not contain mdlBspline_extractCurve() (see my mblbltin.lib attached)
Edit:
unfortunately I'm still not able to link my application; I assume my version of mdlbltin.lib does not contain mdlBspline_extractCurve() (see my mdlbltin.lib attached)I installed ms10100023en_updt10.exe andmssdk10100032en.msiRegardsTom
mdlbltin.zip
Edit
I looked into the symbols defined in the library; mdlBspline_extractCurve() seems to be missing:
F:\Users\Tom\Temp>dir mdlbltin.lib Datenträger in Laufwerk F: ist Users (820 GB) Volumeseriennummer: 6759-4D8D Verzeichnis von F:\Users\Tom\Temp 07.08.2018 02:10 4.386.082 mdlbltin.lib 1 Datei(en), 4.386.082 Bytes 0 Verzeichnis(se), 337.336.811.520 Bytes frei F:\Users\Tom\Temp>dumpbin /EXPORTS mdlbltin.lib > symbols.txt F:\Users\Tom\Temp>findstr mdlBspline_extractCurve symbols.txt mdlBspline_extractCurveNormal F:\Users\Tom\Temp>
Tom Torell said:I assume my version of mblbltin.lib
Spelling: mdlbltin.lib not mblbltin.lib!
mdlbltin.lib
mblbltin.lib
Regards, Jon Summers LA Solutions
Tom Torell. Let me check on the export definitions between the two libraries to see what publishing scope may have changed. I will report back as soon as I can and if necessary, schedule to correct it in an upcoming release.Thank you,Bob