Menu

#6 Version 1.61. in Delphi 5

v1.0 (example)
open
nobody
Delphi 5 (1)
5
2014-02-20
2014-02-20
Dirk N.
No

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

Discussion


Log in to post a comment.

MongoDB Logo MongoDB