[Lazarus] "Running" a library
juha.manninen62 at gmail.com
Fri Sep 14 19:37:58 CEST 2012
On Fri, Sep 14, 2012 at 7:56 PM, Mark Morgan Lloyd
<markMLl.lazarus at telemetry.co.uk> wrote:
> Couldn't this be specified as the "Launching application" parameter?
Actually it is defined in Run -> Run Parameters ... -> Host application
> I think a fair question is whether a library can be built in such a way that
> it can also be started as a program, i.e. can be invoked in such a way as to
> test its own basic functionality.
How to create an automatic test program for it?
There are no general rules to do such thing.
Not really related to this question but maybe 2 years ago Lazarus
still allowed to "run" a library project.
It was a bug, the library binary was treated like any program binary
and it crashed of course.
It is fixed now.
More information about the Lazarus