First of all, thank you for the LazSerial component!
I'm trying to make a program on the Rasperry Pi 3 and I'm using LazSerial version 0.2, but I get some problems. I woul be very grateful if anyone could give me som hints to get on... here is my problem:
I'm trying to use LazSerial, version 0.2, on a Raspberry Pi 3 with Raspian (Debian adaption for RPi). Just a simple test program with one button. When clicking the button, I want the Serial setup dialog to show up. Just using "LazSerial.ShowSetupDialog". The call results in an error "File not open". If clicking "OK" to ignore, and clicking once more on the button, the Setup Dialog appears. I have compiled the source code on the Raspberry Pi 3. The Helpscreen shows this configuration:
Raspberry Pi - #1
Lazarus version # 1.6.2 + dfsg-2
Date: 2018-10-05
FPC version 3.0.0
SVN revision Debian package 1.6.2 dfsg-2 arm-linux.gtk 2
I have another Raspberry Pi 3 with the following configuration:
Raspberry Pi - #2
Lazarus version # 1.6 + dfsg-4
Date: 2016-08-08
FPC version 3.0.0
SVN revision Debian package 1.6.4 dfsg-2 arm-linux.gtk 2
The LazSerial is version 0.1 and the message "File not open" does not show up, and everything workes nice!
When running in debugging mode, a debugger exception notification occur with the message "Project "Test" raised exception class 'RunError(103)'. In file "lazlogger.pas' at line 548. Pressing "Continue" result in the same message again. A new click on "Continue" results in the "normal" error message "File not open".
Does anyone have this problem too?
By the way, this does not occur in Windows....
Best regards
Karl