coassoftwaresystems / delphi-modbus

Delphi ModbusTCP components
MIT License
119 stars 64 forks source link

Delphi Rio Installation #38

Closed mnasro closed 4 years ago

mnasro commented 5 years ago

I installed the Modbus in Rio. I dropped the IdModbusClient component on a simple form. It gives this error: [dcc32 Fatal Error] Unit3.pas(8): F2613 Unit 'IdModBusClient' not found.

Any suggestions?

Regards Masoud Nasro

mnasro commented 5 years ago

I added the path to the library and it compiled. I am now getting these messages in my actual application: [dcc32 Error] IdModbusClient.pas(90): E2170 Cannot override a non-virtual method [dcc32 Error] IdModbusClient.pas(96): E2137 Method 'Connect' not found in base class [dcc32 Error] IdModbusClient.pas(101): E2003 Undeclared identifier: 'DWord' [dcc32 Error] IdModbusClient.pas(114): E2005 'DWord' is not a type identifier [dcc32 Fatal Error] IdModbusClient.pas(492): F2063 Could not compile used unit 'ModbusUtils.pas'

Any Suggestions?