[fpc-pascal] Serial to TCP gateway in FPC?

Bo Berglund bo.berglund at gmail.com
Mon Jul 3 22:50:05 CEST 2017


On Sun, 2 Jul 2017 12:27:45 +0000, Mark Morgan Lloyd
<markMLl.fpc-pascal at telemetry.co.uk> wrote:

>You were asking a few days ago about Application.ProcessMessages but 
>didn't respond to my attempt to tease out your understanding of what was 
>happening. Have you sorted that out to your satisfaction?

I made a Lazarus GUI program to convert a serial stream to TCP to a
remote server where it was again converted to serial.
The question was raised because I have used APM inside the main loop
of the application in order for it to process stuff like mouse clicks
etc while running the main task.
Then I figured that I should make a console program with the same
functions, but APM is part of the Forms unit and this is not used by a
console. So I was thinking that maybe the data handling wouyld not
work if it was missing...

Now I decided to keep the GUI app and use it interactively when I need
to run against the remote system.


-- 
Bo Berglund
Developer in Sweden




More information about the fpc-pascal mailing list