alspivey
asked on
icmp in Delphi6
I'm using icmp from Andreas Hörstemeier in Delphi6 and it will compile and run in the IDE but when I try to build the project I get the following error:
[Error] ICMP.PAS(532): Left side cannot be assigned to
ticmp_sendblock(requestdat a^).icmp_h eader.icmp _type := ICMP_ECHO;
ticmp_sendblock(requestdat a^).icmp_h eader.icmp _code := 0;
ticmp_sendblock(requestdat a^).icmp_h eader.icmp _cksum := 0;
ticmp_sendblock(requestdat a^).icmp_h eader.icmp _seq := f_packet_no;
inc(f_packet_no); { LINE 532 }
ticmp_sendblock(requestdat a^).icmp_h eader.icmp _id := word(self);
fillchar(ticmp_sendblock(r equestdata ^).data,f_ blocksize, #$a7);
ticmp_sendblock(requestdat a^).time:= now_ms;
ticmp_sendblock(requestdat a^).icmp_h eader.icmp _cksum := ICMP_checksum(requestdata^ ,rq_size);
whereto_len:=sizeof(wheret o);
Is anyone using this VCL in version 6, If so what is the workaround. I tried to change it but everything I try fails.
Thanks
[Error] ICMP.PAS(532): Left side cannot be assigned to
ticmp_sendblock(requestdat
ticmp_sendblock(requestdat
ticmp_sendblock(requestdat
ticmp_sendblock(requestdat
inc(f_packet_no); { LINE 532 }
ticmp_sendblock(requestdat
fillchar(ticmp_sendblock(r
ticmp_sendblock(requestdat
ticmp_sendblock(requestdat
whereto_len:=sizeof(wheret
Is anyone using this VCL in version 6, If so what is the workaround. I tried to change it but everything I try fails.
Thanks
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER