[Lazarus] Run-time packages create a register unit

michael.vancanneyt at wisa.be michael.vancanneyt at wisa.be
Thu Dec 22 15:10:47 CET 2011



On Thu, 22 Dec 2011, Mattias Gaertner wrote:

>
>
>
>
> ik <idokan at gmail.com> hat am 22. Dezember 2011 um 11:04 geschrieben:
>
>
>>
>> Hello,
>>
>> I'm creating a run-time package, but it seems that Lazarus also create a
>> register unit with the package itself.
>> Why is that, if I do not wish to register components, but only add units to
>> path, and how can I avoid it ?
>  
> A package has a main source file, which is used to compile all units of a
> package.
> Since 0.9.31 you can change the name of the main source. 

Out of curiosity:

Does the package system check that for a run-time package, none of the units
is flagged as a 'Has register procedure' ?

Michael.


More information about the Lazarus mailing list