I have an application with the old version for Delphi 7 and when I try to migrate to Delphi 10 Seattle several problems occur, how can I solve it? Could you help me, please?
The errors shown on the screen are attached
Example error code with comport 4.11:
Comport1.FlowControl.DTR := TDTRControl(GetEnumValue(TypeInfo(TDTRControl), Balanca.DTR.Valor));
Comport1.FlowControl.RTS := TRTSControl(GetEnumValue(TypeInfo(TRTSControl), Balanca.RTS.Valor));
Comport1.FlowControl.XOnXOff := TXOnXOffControl(GetEnumValue(TypeInfo(TXOnXOffControl), Balanca.XOnXOff.Valor));
Comport1.Options := PegaOpcoesBalanca(Balanca.OPTIONS.Valor);
I'm trying to migrate the comport 3.2 component (delphi 7) to comport 4.11 (delphi 10 seattle). There are many different properties and I'm not able to adjust.