Access violation on Receive - WeOnlyDo Discussion board

Access violation on Receive (General questions)

by David Lucas, Thursday, August 17, 2006, 10:31 (6673 days ago)

I get an access violation when calling Receive if the wodSSH Disconnected event has fired (i.e. the other end has disconnected the connection). However, this access violation only occurs if I call Receive with a Count that's less than the number of bytes remaining in the buffer.

If I call Receive with wodSSH->DataReady as the Count parameter (i.e. the remaining bytes in the buffer) then it doesn't access violate.

We are currently on version 2.3.7.30 (so it's possible this has been fixed, and I will request an update to the latest version to check). Developing under Borland C++ Builder 6.


Complete thread: