On 10/01/2010 11:10 AM, Bo Berglund wrote:

So far most of what has been shown builds on Synaser or similar, which
are blocking systems....

To do a program that does serial communication and at the same time can do 
anything else (e.g. handle a GUI, handle other serial ports or TCP/IP ports), 
you either need to do the serial communication completely in a thread (and thus 
deal with the dirty implications of multi-threaded programming in the main 
program) or create/use a toolbox (such as AsyncPro) that internally does the 
thread based stuff and provides mainthread events to the user.

-Michael


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

Reply via email to