Hi All,
I've noticed that sometimes this happens in my application...
THttpCli: (StatusCode = 0 AND ReasonPhrase = OK)
A search of the HttpProt.pas source has failed to shed any further light
on this... Any suggestions?
Regards,
Keith Willis.
No virus found in this outgoing message.
Checked
Oops...I forgot to add the following line to my code:
HttpServer-ClientClass = __classid(TMyHttpConnection);
Consequently, all my memory allocations/deallocations were trashing the heap
in unpredictable ways.
Keith Willis.
ps. That MadExcept looks great as does EurekaLog
-Original
. It might be time to try the Indy
component to see what it does :(
Keith Willis.
-Original Message-
From: twsocket-boun...@elists.org [mailto:twsocket-boun...@elists.org] On
Behalf Of Arno Garrels
Sent: Monday, 2 February 2009 3:43 AM
To: ICS support mailing
Subject: Re: [twsocket
Hi Arno,
Just confirming that you meant to write:
ClientCnx-Receive(Junk, sizeof(Junk));
Instead of:
ClientCnx-Receive(Junk, sizeof(Junk));
Cheers,
Keith.
--
To unsubscribe or change your settings for TWSocket mailing list
please goto
Arno,
No luck I'm afraid... I'm still getting those AV's :(
Keith.
Here's my current code... As per your suggested code.
I also made the TMemoryManager global to the application.
I will try free and malloc next.
CODE SNIPPETS
support mailing
Subject: Re: [twsocket] EAccessViolations when Posting Data to a HTTPServer
Keith Willis wrote:
Just confirming that you meant to write:
ClientCnx-Receive(Junk, sizeof(Junk));
Instead of:
ClientCnx-Receive(Junk, sizeof(Junk));
I don't think so, I meant the address of Junk
Well I tried malloc and free without any joy. I have however been able
to ascertain that its crashing in the call to Receive.
More significantly its only crashing on my target machine, (an ASUS EEE Box
B202 running Windows XP Home). I can't seem to crash it on my development
PC, (A generic
, (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.
Can anyone shed some light on what might be happening here?
Regards,
Keith Willis.
CODE SNIPPETS
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
. The responses of five common FTP
servers
to FEAT are listed below:
Cheers,
Keith Willis.
--
To unsubscribe or change your settings for TWSocket mailing list
please goto http://www.elists.org/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be
, (SmtpProt.hpp, FtpCli.hpp)
followed by Borland, (scktcomp.hpp)
and finally TurboPower Internet Professional, (IpFtp.hpp).
All other arrangements fail with errors relating to the fact that both
winsock.h and winsock2.h both appear to have been included.
Cheers,
Keith Willis.
--
To unsubscribe or change
IcsSha1.pas
LINE 63: Bomb('This code requires Delphi 2 or later'};
Methinks... final } should be a )
Keith.
--
To unsubscribe or change your settings for TWSocket mailing list
please goto http://www.elists.org/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be
Hi All,
What's the best way to detect if a timeout has occurred in a TFtpClient
operation?
Regards,
Keith Willis.
--
To unsubscribe or change your settings for TWSocket mailing list
please goto http://www.elists.org/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be
Hi All,
Is there a way to upload files directly, (in a similar fashion to FTP) using
the ICS HTTP Client?
Regards,
Keith.
--
To unsubscribe or change your settings for TWSocket mailing list
please goto http://www.elists.org/mailman/listinfo/twsocket
Visit our website at
14 matches
Mail list logo