Quantcast
Channel: MicroStation Programming Forum - Recent Threads
Viewing all articles
Browse latest Browse all 7260

RE: MDL-Programming v8i-Problem: error C3861: "toolSubsystem_fclose" (Asking for Help)

$
0
0

Hi Ines,

[quote user="Ines Wieland"]Does it mean, that I have to convert the whole MDL...[/quote]

No. In my opinion there are several migration steps and the first one is to convert the code "as is" and to replace only functions not supported anymore. Such code is a candidate to be implemented using C++, but it's not necessary, C code is valid for C++ compiler, so it's more recommendation.

[quote user="Ines Wieland"]...including MDL-Dialogs into C++[/quote]

No. MicroStation resources (dialogs...) are still supported, even in MicroStation CONNECT Edition.

[quote user="Ines Wieland"]Are there any hints for the Microstation C++ API, which new functions replace old functions from MDL-API ? (Like a table old -> new) ?[/quote]

No. In V8i MicroStationAPI is more like extension of existing C MDL API, not the replacement ... there are some exceptions, e.g. MicroStationAPI provides C++ implementation of primitive and modification tools etc., but for the most of operations (e.g. to create an element), C MDL API has to be used.

[quote user="Ines Wieland"]into C++?[/quote]

My feeling is that Jon's advice is not about to move from C MDL API to C++ MicroStationAPI, because it's not the replacement, but to start to use C++ instead of C where possible, so to don't use e.g. char arrays but strings, not fopen but streams etc.

With regards,

  Jan


Viewing all articles
Browse latest Browse all 7260

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>