Surendra Singh
-
Content Count
8 -
Joined
-
Last visited
Posts posted by Surendra Singh
-
-
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.
-
On 7/21/2022 at 12:16 PM, Lars Fosdal said:What type of files?
Project source files like .pas and .dfm
-
How to dynamically link existing files into a project. Due to licensing constraints this is the only option available to us.
Appreciate your assistance on this.
-
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?
-
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?
-
Thanks David for the reply.
I know direct inclusion in the project is simple but it doesn't solve my purpose. I don't want to include the source in my project, is there any other way to achieve this?
-
How to package the SynEdit library as DLL and dynamically link into other project.
Package SynEdit library as Dll
in Delphi Third-Party
Posted
@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