Ow didn't knew that with the F7 key, you can debug further, so I did that and
ended up in the code of TBuffer.SetBufferSize at line 117
'GetMem(Buf, FBufSize);'
where Buf := nil and FBufSize := 1460
after that line, he gives me that error :s
--
To unsubscribe or change your settings for TWSoc
>
> You _always_ need a message pump. If the calling program doesn't provide
> one, you must provide one and to have one without interfering with the
> calling DLL it is better to have all you stuff in a thread. Consider a
> thread as a program within a program.
>
> If you don't want to have a th
> Do I really need a message pump in this case?
You always need a message pump for ICS component (except TPing component) to
work. Without message pump, no winsock event !
> I think not, since the
> program never spends long times in the dll, because the data is given
> back to the caller very fa
[snip]
>>
>>The thing is that the code is in a dll, so application.processmessages
>>might not work here. Or does it? The timeout will be rather short anyhow
>>(ca. 50 ms) and I think i do it with GetTickCount, which should be
>>sufficient here and more easy to use than a at this place timer.
>>Or
> The thing is that the code is in a dll, so application.processmessages
> might not work here. Or does it?
It depend on the caller of the DLL ! You may as well be called from a
thread. Calling the message pump from a DLL is risky when you don't know
anything about the calling process. If you have
Hello Francois,
In one case, I'm using a proxy. In another case,
I'm not. The moment I added "http://"; before the URL,
it worked again.
--
Best regards,
Jack
Sunday, May 1, 2005, 6:10:36 AM, you wrote:
FP> Are you using a proxy or not ?
FP> Are you using authentication ?
FP> --
FP> [EMAIL PRO
Francois PIETTE schrieb:
> As expressed in the source code, ReadLine is deprecated. Anyway, it doesn't
> fit correctly with UDP protocol which is datagram oriented. Using "lines"
> with such protocol is strange.
>
>
>>Now I have the problem that at one place in the program I need
>>synchronus com
As expressed in the source code, ReadLine is deprecated. Anyway, it doesn't
fit correctly with UDP protocol which is datagram oriented. Using "lines"
with such protocol is strange.
> Now I have the problem that at one place in the program I need
> synchronus communication. I send out one byte and
Are you using a proxy or not ?
Are you using authentication ?
--
[EMAIL PROTECTED]
http://www.overbyte.be
- Original Message -
From: "Jack" <[EMAIL PROTECTED]>
To: "ICS support mailing"
Sent: Sunday, May 01, 2005 9:26 AM
Subject: Fwd: [twsocket] new httpcli exception
>
> It seems that
Hello,
I'm using TWSocket for UDP communications, so far it works quite good.
Now I have the problem that at one place in the program I need
synchronus communication. I send out one byte and if I receive the same
byte within some short timeout, I assume that the device I'm talking to
has a echo mo
It seems that now THttpCli.URL now requires prefix of
http:// or https://. I used to use url without those
and it seems to have worked with previous versions of
httpcli.
===8<==Original message text===
Hi Francois and all,
I recompiled an old project of mine with the late
Hi Francois and all,
I recompiled an old project of mine with the latest
ICS on D5. I'm getting this error during run time, that
I have never got before:
"Project Test.exe raised exception class EHttpException with
message 'Protocol not implemented'. Process stopped. use
Step or Run to
12 matches
Mail list logo