[Lazarus] WriteLn back to the GUI
Luca Olivetti
luca at wetron.es
Wed Oct 23 21:26:42 CEST 2013
Al 23/10/13 21:01, En/na ListMember ha escrit:
>
> I could use the sample code you posted a link to (and, thank you also
> for that), and I adapted it to use TMemo for my use.
>
> But, why would I have to write 100+ lines of code just to capture the
> output of WriteLn.
You already did that and it works, right? So what's the problem?
>
> Plus, I keep getting segfaults when I close the application --something
> is calling InOutFunc when the app closes and still tries to write to a
> destroyed TMemo.
add a call to CloseFile(Output) to the form OnDestroy event.
Bye
--
Luca Olivetti
Wetron Automation Technology http://www.wetron.es
Tel. +34 935883004 Fax +34 935883007
More information about the Lazarus
mailing list