TLazSerial icon indicating copy to clipboard operation
TLazSerial copied to clipboard

TLazSerial does not return string

Open oliverhbailey opened this issue 3 years ago • 2 comments

Hello, The only way to get the serial port list in Free Pascal 3.2.2 with Lazarus 2.3.0 is to define an ansistring. But even with that an error is generated that GetSerialPortNames is not a member of any class that will return a string. Looking at the ancestor class TBlockSerial, the same problem exists and there is no detailed documentation or examples of this procedures use. Is there anywhere an example use of this can be found?

oliverhbailey avatar Nov 08 '22 18:11 oliverhbailey