<div dir="auto"><div><div class="gmail_quote"><div dir="ltr">Michael Schnell via Lazarus <<a href="mailto:lazarus@lists.lazarus-ide.org">lazarus@lists.lazarus-ide.org</a>> schrieb am Di., 12. Juni 2018, 15:25:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On 12.06.2018 14:06, Sven Barth via Lazarus wrote:<br>
> The dongle code would also be linked if it would be in a dynamic <br>
> package and Lazarus would support them.<br>
Sorry, I seem not to be have been clear.<br>
<br>
The (potential) problem I want to provide a solution for is: not to link <br>
the Dongle code in the Lazarus IDE executable. (But have it usable in <br>
the compiled user application.)<br>
(Delphi does this by using the dynamic linking for the package the <br>
Delphi IDE uses, but this is of no concern when doing Lazarus.)<br></blockquote></div></div><div dir="auto"><br></div><div dir="auto">No. Delphi does *not* solve this by using dynamic linking. If a package is installed in the IDE (no matter whether it is Delphi or Lazarus) its code becomes part of the running process (for Delphi when the package is loaded at IDE start, for Lazarus during compilation and linking).</div><div dir="auto">The execution of the dongle code is only prevented if the developer of the component checked whether the design mode is active and does not execute the dongle code in that case (or the component is not used, because a project is loaded that does not use the component). </div><div dir="auto"><br></div><div dir="auto">Regards, </div><div dir="auto">Sven </div></div>