Jump to content

Surendra Singh

Members
  • Content Count

    8
  • Joined

  • Last visited

Posts posted by Surendra Singh


  1. On 7/25/2022 at 2:02 PM, Fr0sT.Brutal said:

    It's possible to use a VCL component from DLL, with some drawbacks & limitations. Search for "Plugins in Delphi" and "Delphi Form from DLL"

    @Fr0sT.BrutalThanks for your suggestion. If we make the project from scratch it is doable as seen. But how to convert our existing project to DLLs


  2. On 7/21/2022 at 12:21 PM, David Heffernan said:

    Dynamic linking won't solve your licensing problems. Synedit, the subject of your last question, has a dual GPL/MPL license. Dynamic linking doesn't allow you to evade the licence requirements. 

     

    Why do you feel that you can't adhere to the requirements of the MPL? 

     

    Incidentally there was no need to make a new question to ask the same as you did in your previous question. Perhaps you didn't like the answers you got but sometimes the answer to a question isn't the one you want to hear. 

     

     

    Thanks @David Heffernan for your response.

    I created this thread to know about dynamic linking in Delphi project. If you have this information please let me know.


  3. 21 hours ago, David Heffernan said:

    Plain native DLLs aren't really practical for components. This is the reason that packages exist.  So if you need the code in a separate module, use a package.

     

    But packages introduce complexity for deployment and versioning.  Why don't you want direct inclusion of the code in your executable?

    We cannot include the third party components like SynEdit library directly to our code, only option we see is linking it dynamically.
    Could you please let us know the disadvantages and problems we might be facing in doing it dynamically?
     


  4. 21 hours ago, dummzeuch said:

    What exactly do you mean by "include the sources"? If it is about not compiling the sources all the time, you could simply link precompiled dcu files. If it's about not having the compiled code in your executable, the best way is linking with packages, which has some drawbacks though. A DLL is the worst option as you  would lose the ability to easily add those controls to your forms.

    Include the source means including source of SynEdit library in the project. We do not want to include the third party components like SynEdit directly to our code, only linking it dynamically.

    Could you please let us know the disadvantages and problems we might be facing in doing it dynamically?

×