Hi all (and Jurassic Pork
)
I am trying to use TLazSerial but the behaviour is not really working well on my Windows 10.
I have version TLazSerial 0.2 and Lazarus v1.8.4
So I have a 'COM4' connected to a device, and I can open other program (putty, etc) on this COM4 just fine. and it closes the port well too.
But when I use TLazSerial, the closing of the port seems to not working despite getting a Status of
'Port \\.\COM4 closed' in the event onStatus. After I press Close button, the port seems to be locked and unable to be accessed by other programs. Also, the application itself hangs and unable to close i had to manually use task manager to terminate it.
Hereby is the zipped program if you wish to test it. Ofc, you need to modify the TLazSerial component's COM number to the device you are connected to in order to test it.
https://easyupload.io/edqt31