Welcome to our new forum
All users of the legacy CODESYS Forums, please create a new account at account.codesys.com. But make sure to use the same E-Mail address as in the old Forum. Then your posts will be matched. Close

Creating compiled-library without access to the source code

clabaldo
2022-06-24
2022-06-28
  • clabaldo - 2022-06-24

    We have created two compiled-libraries which we would like customers to implement freely but without having access to the source code, we are having some issues to finalize this.
    1) from libSource.library file we have saved the library as a compiled-library then we have then installed the compiled-library on the system and added the library to the project.
    Once the library is added it will NOT show the source code, this is how expected.
    Problem is that, back to the libSource.library, if we use the button "Save project and install in library repository", then the library will be re-imported into the project and will also show the source code.
    What is this problem related to?
    2) We would also like the libSource.library to be password protected while the compiled-library should be accessible by anybody. Is this possible?

     
  • TimvH

    TimvH - 2022-06-25

    1) Save and install into library repository is very useful when you want to test you library. Tip is to open CODESYS twice. One has the library opened and the other can contain your test project to test your library. Everytime you save and install your library, your test project will be automatically informed that it is updated and you can run your test again. But once you "release it" and share it with others, then you can choose for a "save as compiled library" and send this to them.
    2) There is a difference in protecting it from using the (compiled) library and opening the library. You can protect the access to the library with a password (or dongle, or certificate), by going to Project - Project settings - security and enable the password security. Once you have done this, you can only only open the library to change the source code after entering the password. But when you save it as compiled library and use it in any project, no password is required.

     
  • clabaldo - 2022-06-28

    We do have a problem with the compiler version and are wondering how we can fix it.
    The library was accidentally saved with SP16 patch7 while we want to save it as path02.
    How can we clean the repository as the error says we can`t saved the compiled version now.

     

Log in to post a comment.