Solved,Thanks
there is another mistake:                               
    FillChar(sendData, high(sendData), 0);
change to                               
    FillChar(sendData[0], high(sendData), 0);
OK.



2009/10/10 Matthias K. <maka...@googlemail.com>:
> Hi,
> For the Move solution, use "Move( SendBuffer, rcvData[0], count )"..
> Same common mistake with <dynamic array var>[0].
>
> sry
> _______________________________________________
> fpc-pascal maillist  -  fpc-pas...@lists.freepascal.org
> http://lists.freepascal.org/mailman/listinfo/fpc-pascal
>
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to