VisuUserMgmtDialogs (source library) - compile errors

kislov
2020-12-21
2020-12-22
  • kislov

    kislov - 2020-12-21

    Hi.
    I use CODESYS 3.5.16.30.

    I need to edit standard dialogs User Management (UserMgmtLogin, UserMgmtConfig, UserMgmtChangePassword).

    So I open source library VisuUserMgmtDialogs.library (...\CODESYS\Projects\Visu\Dialogs\VisuUserMgmtDialogs.library), execute command Build - Check all pool objects and got 23 errors and 97 warnings (see attached screenshot).

    How can I fix it?

    Also it's strange for me that in this library used compiler version and visu profile 3.5.6.0 (though library version is correct 3.5.16.0)

     
  • m.prestel

    m.prestel - 2020-12-22

    Hey,

    You have to update both your visu profile and compiler version to do a Check all pool objects.

    Best regards,
    Marcel

     
    πŸ‘
    1
    • kislov

      kislov - 2020-12-22

      Thanks, it's works.
      But I think it will be fine if the library had the correct versions right away.

       
      • m.prestel

        m.prestel - 2020-12-22

        The initial version is not relevant.
        It only affects Check All Pool Objects.

        Also always using the latest version would stop people from changing stuff, since they may fear they have to update their application to use the same compiler version/visu profile!

         
        • kislov

          kislov - 2020-12-22

          But current situation (with compile errors) can scare people too. =)
          Maybe just include in installer both versions? "Classic" (3.5.6.0) and latest (dedicated to installer version)

           
          • m.prestel

            m.prestel - 2020-12-22

            There is no benefit in doing so.
            People will then ask which of the one or many versions is the correct one, the latest one, whats the difference between them etc etc.
            And it will create issues when a user e.g. used the latest version, used e.g. LDATE and then went back and just this version in a project with compiler version 3.5.15.0.

            There is no good solution for this and saving a file for every possible visu profile and compiler version on disk is not the solution!

             
            πŸ‘
            1
            • kislov

              kislov - 2020-12-22

              I see, I can understand your point of view.
              Anyway, my problem was solved, thank you for advice.

               
              πŸ‘
              1

Log in to post a comment.