Hi,
Few weeks ago I notice random AV in TCustomWSocket.Receive
(see my message below).
Arno Garrels answer to my question:
BCB6 is no longer supported since ICS V6.
ICS-V6 for Delphi 7 / C++Builder 2006 to Delphi/C++Builder 2007 ICS-V7 for
Delphi 7 / C++Builder 2006 to Delphi/C++Builder 2010
So, I move my app to BCB2007.
But.. I notice same problem: time to time I have AV in
TCustomWSocket.Receive !
My app is a little proxy-checker and problem happens on
connect to target host using socks proxy.
Anybody notice same problem ?
p.s. All works fin with ICS 5/BCB6 ! I notice this problem only
after upgrading to ICS v6.
---
With best regards, Max Terentiev.
Business Software Products.
AMS Development Team.
supp...@bspdev.com
- Original Message -
From: Max Terentiev maxterent...@mail.ru
To: ICS support mailing twsocket@elists.org
Sent: Tuesday, October 13, 2009 12:56 AM
Subject: [twsocket] AccessViolation in TCustomWSocket.Receive
Hi,
I move my app from ICS v5 to v6 and notice randomly AV
in TCustomWSocket.Receive:
function TCustomWSocket.Receive(Buffer : TWSocketData; BufferSize:
Integer) : Integer;
begin
Result := DoRecv(Buffer, BufferSize, 0);
if Result 0 then
FLastError := WSocket_Synchronized_WSAGetLastError
else
{ Here we should check for overflows ! It is well possible to }
{ receive more than 2GB during a single session. }
{ Or we could use an Int64 variable...}
FReadCount := FReadCount + Result; AV Here !
end;
AV always at FReadCount := FReadCount + Result; line.
My app use TSmtpCli in async mode and PingThread by
Angus Robertson. IDE = BCB6.
I never notice this problem with ICS v5.
Maybe I must update some my code to avoid problems with V6 ?
---
With best regards, Max Terentiev.
Business Software Products.
AMS Development Team.
supp...@bspdev.com
--
To unsubscribe or change your settings for TWSocket mailing list
please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be
--
To unsubscribe or change your settings for TWSocket mailing list
please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be