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

--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to