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
Ok Thanks Francois,
That was more or less what I suspected. I will contact the camera
manufacturer and let them know.
For the moment I am temporarily setting my HttpCli Timeout mod to 0, which
works well. For some reason calling "GetAsync" directly, hangs the app and I
haven't had a chance to inv
added a timeout).
Other than calling "THttpCli.GetAsync" is there any other way for "THttpCli"
to handle web pages that return nothing?
Regards,
Keith Willis.
No virus found in this outgoing message.
Checked by AVG - www.avg.com
Version: 9.0.791 / Virus Database: 271.1.1/
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
-Origi
ideas. 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:
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 P
y, 1 February 2009 3:55 AM
To: ICS 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->
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 >>>
//---
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 http://lists.elists.org/cgi-bin/mailman/listinfo/tw
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
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.
&l
;
document the most useful new commands. 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
"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
pp", "IdComponent.hpp", "IdHTTP.hpp",
"IdTCPClient.hpp", "IdTCPConnection.hpp")
then ICS, ("SmtpProt.hpp", "FtpCli.hpp")
followed by Borland, ()
and finally TurboPower Internet Professional, ("IpFtp.hpp").
All oth
op of every one of my header files,
but the errors are still there. To be honest I have no idea where these
files are actually being included and would appreciate any workaround
suggestions that may be forthcoming...
Regards,
Keith Willis.
--
To unsubscribe or change your settings for TWSock
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
an 'Zarkow' Munkestam <[EMAIL PROTECTED]>."
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 http://www.overbyte.be
Now it gets even stranger...
I explicitly included the following ICS units in my C++ Builder project and
the problem went away???
(I thought I might be able to trace the constructor execution with the BCB5
debugger this way)
SmtpProt.pas
Wsocket.pas
IcsMD5.pas
Regards,
Keith Willis
Dear ICS People,
I am dynamically creating an instance of TSyncSmtpCli in a TThread at
runtime, (C++ Builder 5).
The EmailFiles TStringList member is always NULL when I do this and I cannot
assign a new TStringList to it, (it remains NULL).
... Any ideas?
Regards,
Keith Willis.
--
To
20 matches
Mail list logo