They start at WM_USER + 1.
So there can be a conflict.
I think I better switch to WM_APP then
Paul
- Original Message -
From: "Arno Garrels"
To: "ICS support mailing"
Sent: Sunday, May 03, 2009 9:26 PM
Subject: Re: [twsocket] OT: WM_USER or WM_APP
> Arno Garrels wrote:
>> ID. You hop
Arno Garrels wrote:
> ID. You hopefully do not post/send common messages (not registered
> by AllocateMsgHandlers) to the ICS window in V6 and better.
Sorry, when I said "common", I meant "custom" message IDs, in the range
ICS V6 and better might allocate for own purposes (search for
GWndHandler
Probably the datastream contains data from the not relocated URL as well as
the image from the relocated url. Use OnLocationChange to clear the
datastream.
--
francois.pie...@overbyte.be
The author of the freeware multi-tier middleware MidWare
The author of the freeware Internet Component Suite
Even the main logo of google.com vs. www.google.com gives me the same
problem:
Try doing a GET on google.com/intl/en_ALL/images/logo.gif - this does
not download correctly for me with 'FollowRelocation' set to 'True'.
<-Original Message->
>From: Francois PIETTE [francois.pie...@skynet.be
This is what I thought also, but I have FollowRelocation set to True and
it still downloads these images as invalid - like in the 'firebug.gif'
example. There is data there, but the image won't display.
<-Original Message->
>From: Francois PIETTE [francois.pie...@skynet.be]
>Sent: 5/3/20
> You are right, except Tag is less appropriate than the Sender
> argument passed to the event handler. Sender always refers to the
> component sending the event.
I meant tag of sender. Otherwise you'd have 50 nested tests for the
correct sender.
Angus
--
To unsubscribe or change your setti
Paul wrote:
> I'm using window message in range WM_USER+1 to WM_USER+200.
> For a long time, I've wondering why a http-client sometimes stops
> working although all messages do thru a message queue.
> Now, I'm told not to use messages in the WM_USER range, but in WM_APP
> range since third party co
I'm using window message in range WM_USER+1 to WM_USER+200.
For a long time, I've wondering why a http-client sometimes stops working
although all messages do thru a message queue.
Now, I'm told not to use messages in the WM_USER range, but in WM_APP range
since third party components and Delphi
> You only need a single event for all 50 clients, provided you set the
> client Tag property uniquely so you know which client fired the event.
Yes, and I could use Sender also
Thx,
Paul
--
To unsubscribe or change your settings for TWSocket mailing list
please goto http://lists.elists.org/cg
>> but a central place would be much nicer, especially if you have a
>> lot of clients together (50 +) ..
>
> You only need a single event for all 50 clients, provided you set the
> client Tag property uniquely so you know which client fired the event.
You are right, except Tag is less appropriat
Hello,
Has the below message reached your inboxes?
Regards,
SZ
On 5/3/09, Fastream Technologies wrote:
>
> Hello,
>
> I need to parse the Cookie and Set-cookie and alter the path and domain
> vars for all cookies by first reading the old value, doing some processing
> and then replacing. Any
> but a central place would be much nicer, especially if you have a
> lot of clients together (50 +) ..
You only need a single event for all 50 clients, provided you set the
client Tag property uniquely so you know which client fired the event.
Angus
--
To unsubscribe or change your settings
> Then derive your own THttpCli from ICS's one and override GetAsync with
> version having try/except block and generating a new event of trigering an
> existing. Half an hour to do that.
Yes, I could do that for every async instruction.
Are there any other exceptions that I should catch that you
>>> I'm trying to handle exceptions of all httpcli into a single procedure.
>>> I've have used HttpCli.CtrlSocket.onBgException, but this not fired at
>>> all.
>>> When I click twice on Button1, I get an error 'HttpCli is busy'.
>>> This is normal, but I wan't to intercept this.
>>>
>>> How ?
>> U
Yes,
but a central place would be much nicer, especially if you have a lot of
clients together (50 +) ..
Paul
- Original Message -
From: "Francois PIETTE"
To: "ICS support mailing"
Sent: Sunday, May 03, 2009 4:30 PM
Subject: Re: [twsocket] THttpCli exception handling in async mode
> I'm trying to handle exceptions of all httpcli into a single procedure.
> I've have used HttpCli.CtrlSocket.onBgException, but this not fired at
> all.
> When I click twice on Button1, I get an error 'HttpCli is busy'.
> This is normal, but I wan't to intercept this.
>
> How ?
Use try/except:
I'm trying to handle exceptions of all httpcli into a single procedure.
I've have used HttpCli.CtrlSocket.onBgException, but this not fired at all.
When I click twice on Button1, I get an error 'HttpCli is busy'.
This is normal, but I wan't to intercept this.
How ?
Paul
procedure TForm13.FormCr
> One more question: when I try to retrieve some images using the appended
> "www.", the image does not download, but when I omit the "www.", it
> downloads correctly.
> Try doing a GET request for "notepad.com/images/firebug.gif" and it
> works. Try "www.notepad.com/images/firebug.gif" and it does
Hello,
I need to parse the Cookie and Set-cookie and alter the path and domain vars
for all cookies by first reading the old value, doing some processing and
then replacing. Any good cookie parsers out there for Delphi/BCB?
Best Regards,
SZ
--
To unsubscribe or change your settings for TWSocket
One more question: when I try to retrieve some images using the appended
"www.", the image does not download, but when I omit the "www.", it
downloads correctly.
Try doing a GET request for "notepad.com/images/firebug.gif" and it
works. Try "www.notepad.com/images/firebug.gif" and it does not.
Eith
20 matches
Mail list logo