On 27/07/11 09:22, P. vanderWal wrote:
Hello,
In my program I need to present the user with a list of available serial
and usb-serial ports on the system they are using.
How do I detect in my program these ports?. (something like
GetPortList() in Delphi-7???).
Look here for how synaser does it:
http://synalist.svn.sourceforge.net/viewvc/synalist/trunk/synaser.pas?revision=146&view=markup#l2280
For linux you can look for /dev/ttyS* and /dev/ttyUSB*, but they may be
called anything in practice.
Henry
_______________________________________________
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal