Re: [twsocket] tHttpCli ~ firewall software problem

2009-01-30 Thread Paul
It has nothing to do with the old version imho. I'm using V7 and have the same problem. I have TrendMicro installed and the new version is quite agressive. If I compile a keyhook that I wrote myself, it blocks even the compiler ! The only thing that helps is switching off the firewall or digitally

Re: [twsocket] tHttpCli ~ firewall software problem

2009-01-30 Thread Piotr Dałek
Hello! > It has nothing to do with the old version imho. > I'm using V7 and have the same problem. > I have TrendMicro installed and the new version is quite agressive. > If I compile a keyhook that I wrote myself, it blocks even the compiler ! > The only thing that helps is switching off the fire

Re: [twsocket] tHttpCli ~ firewall software problem

2009-01-30 Thread Arno Garrels
Michael Beardmore wrote: > I have developed a small application for clients to download files > from the internet using tHttpCli. Generally it works OK without > software firewalls blocking the communication however, every now and > then, some software firewalls (eg Vet, Nortons, Mcafee, AVG, > Tr

[twsocket] EAccessViolations when Posting Data to a HTTPServer

2009-01-30 Thread Keith Willis
Dear All, I have recently written a small Web Server application using the THttpServer component in ICS 5 with C++ Builder 5. It serves GET requests perfectly, but when I added POST functionality, (following the WebServ example) it has started generating EAccessViolations. CodeGuard reports that

Re: [twsocket] EAccessViolations when Posting Data to a HTTPServer

2009-01-30 Thread Arno Garrels
Keith Willis wrote: > I have managed to improve the code reliability by not dynamically > allocating the PostedDataBuffer at all, (but this is not an > acceptable solution). In the code snippets below I pre-allocate once > in the constructor but this still generates AV's. You never check PostedDa

Re: [twsocket] EAccessViolations when Posting Data to a HTTPServer

2009-01-30 Thread Keith Willis
Hi Arno, > You never check PostedDataSize, the size of your receive buffer. > The pascal demo allocates this buffer dynamically depending on the RequestContentLength plus one byte for the null terminator in the OnPostDocument event handler. > What is the value of RcvdByteCount when the error happe