Upgrading V8i MDL Apps to Connect

Is there any documentation on the absolute basic essentials to implement when porting from V8i mdl's to Connect?.  
I have written a few mdls in the past and want to now re-compile them for Connect.  
I have no idea where to start and previously made use of Select Series II SDK .
My application is MDL API based on C(compiled using bmake -a .mke) and now i am having visual studio 2013 and trial version of microstation connect.

Please help me to upgrade.

Regards,

Saravana

Parents
  • Hi Saravana,

    Unknown said:
    Is there any documentation on the absolute basic essentials to implement when porting from V8i mdl's to Connect?.  

    as the first step I recommend to use search and to research past discussions in this forum. The same question have been asked and discussed several times already.

    Also check MicroStation SDK for MigrationTool that can help you with the migration process.

    ANother recommended step is to be able to compile examples delivered with MicroStation SDK, because it both confirms your Development Shell is configured properly and you can learn from existing compilable code.

    Unknown said:
    I have written a few mdls in the past and want to now re-compile them for Connect.  

    MDLs cannot be recompiled, but have to be migrated to CONNECT Edition API.

    Unknown said:
    My application is MDL API based on C(compiled using bmake -a .mke)

    It's not quite clear whether your applications are still pseudocode (compiled using mcomp) or native code (compiled using VS 2005 C compiler). It brings some differences to the migration process.

    Unknown said:
    now i am having visual studio 2013 and trial version of microstation connect.

    This information is not sufficient. What MicroStation version do you use? From (if I remember right) Update 5 Visual Studio 2015 is required, former CONNECT Edition versions require Visual Studio 2013, when talking about native C++ code.

    With regards,

      Jan

  • Jan,

    Unknown said:
    It's not quite clear whether your applications are still pseudocode (compiled using mcomp) or native code (compiled using VS 2005 C compiler). It brings some differences to the migration process.

    My application is not native code it still pseudocode.

    Regards,

    Saravana

  • Unknown said:
    My application is not native code it still pseudocode.

    Hmmmm ... I would recommend to migrate pseudocode to native code at V8i platform at first, because it will ensure your make file is created correctly. In my opinion the migration to CE will be easier, but to compile native C code for V8i requires Visual Studio 2005, which is quite obsolete product now (and not freely available Professional Edition is required).

    From this perspective, simpler seems to be to do two modifications in one step: To change the project(s) to native code compilation and migrate it to CONNECT Edition 64bit API. But of course it's more complex and risky.

    ... but accordingly to my experience the greatest influence has how good / well structured / dirty your current code is.

    With regards,

      Jan

  • Hi Jan,

    Could you please provide some examples to migrate pseudocode to native code at V8i platform.

    Regards,

    Saravana

  • Hi Saravana,

    Unknown said:
    Could you please provide some examples to migrate pseudocode to native code at V8i platform.

    Your the first step should be to search this web what was discussed already and whether any articles or wiki pages exist. As expected, they do, because MDL pseudocode has not been supported for many years (I guess from V8 2004 Edition?), so consequently many developers had to change their code in the past.

    You should start with this wiki page, where main tasks are discussed.

    I don't know about any example, because every code and every project is different, so it's about to understand required changes both in code itself (e.g. added or modified some MicroStation specific structures like MdlCommandNumbers) and in make file (so native code compiler will be used, propert libraries will be linked etc.).

    With regards,

      Jan

Reply
  • Hi Saravana,

    Unknown said:
    Could you please provide some examples to migrate pseudocode to native code at V8i platform.

    Your the first step should be to search this web what was discussed already and whether any articles or wiki pages exist. As expected, they do, because MDL pseudocode has not been supported for many years (I guess from V8 2004 Edition?), so consequently many developers had to change their code in the past.

    You should start with this wiki page, where main tasks are discussed.

    I don't know about any example, because every code and every project is different, so it's about to understand required changes both in code itself (e.g. added or modified some MicroStation specific structures like MdlCommandNumbers) and in make file (so native code compiler will be used, propert libraries will be linked etc.).

    With regards,

      Jan

Children
No Data