Version 1.61. in Delphi 5
Brought to you by:
plpolak
Hi, great job on these components, thanks a million!
I needed to get version 1.6.1 working in Delphi 5 .yes, I know:-)
and stumbled upon some minor problems:
DWORD, pByte and pWord are AFAIK not known in Delphi 5,
so I added
{$IFDEF VER130}
type
PByte = ^Byte;
PWord = ^Word;
DWORD = LongWord;
{$ENDIF}
to the interface section of unit ModbusTypes and also added
uses ModbusTypes; to the interface section of unit ModbusUtils
that's all there was needed to 'fix' this.
Was I correct to do this, or did I miss something obvious ?
kind regards,
Dirk