Hello,
I am trying to return a page after a HTTP POST is completed successfully. I
noticed to do this, I need to set THttpConnection(Sender).FState :=
hcHeader, but the variable is no accessible. I propose to add this line to
THttpConnection.PostedDataReceived().
Best Regards,
SubZero
--
To u
Got problem... Finally wrote some semi-multithreaded application using
HTTPCli and GetAsync, but it doesn't seem to work and i dunno why ;-(
Generally on OnDocData i got some procedure that changes something on
ListView (changes are based on what the HTTPCli Buffer is)... but it doesn't
work ;-( It
> May I send my project on this mailing list, in the hope that someone could
> help me
It would be rejected by the mailing list processor.
Instead, put you project (source code only) somewhere on a server and publish
here in the list an
URL to download it by the interested peoples.
btw: Does th
Hellow,
I still have the same problem with my project in borland delphi. The only thing
a want to achieve is to put a menu on my Form. When I try it, even without
writing one single line of code a recieve an error. Do not understand it at all.
May I send my project on this mailing list, in th
Hello Markus,
> I know that this is bad design, but that is used only for testing the dll
> Later it will be replaced by another dll which really will be event driven
First of all, writing event driven is in fact more simple that
sequentional programming if you are used to do it. Secondly you are
> > I know that this is bad design, but that is used only for
> testing the dll,
> > nothing more. Later it will be replaced by another dll which
> > really will be event driven. For simple
> > test purposes such a complicated event driven app.
> > would be overkill!
>
> You are loosing your time
> I know that this is bad design, but that is used only for testing the dll,
> nothing more. Later it will be replaced by another dll which
> really will be event driven. For simple
> test purposes such a complicated event driven app.
> would be overkill!
You are loosing your time writing 'test co
> > The app. does something like this:
> >
> > repeat
> > send something;
> > wait some ms;
> > until ende = true;
>
> This is bad design considering you are using an asynchonous
> component. You must replace any loop by
> a cascade of events. Just like any normal GUI program: you
> have a r
Hello Markus,
> hm, curious. Now it works if I have the receiving component statically on
But it will be a lot simpler if you create it in Execute method. It is
also confusing to have it on a datamodule while it is attached to a
thread.
Note that you also can use the message pump of TWSocket its
> hm, curious. Now it works if I have the receiving component statically on
> the data module
> and have it Multihreaded:=true; and simply process messages like that
>
> while GetMessage(MsgRec, 0, 0, 0) do begin
> TranslateMessage(MsgRec);
> DispatchMessage(MsgRec)
You have all e
> The app. does something like this:
>
> repeat
> send something;
> wait some ms;
> until ende = true;
This is bad design considering you are using an asynchonous component. You must
replace any loop by
a cascade of events. Just like any normal GUI program: you have a running
message pump (y
> In all these years I cannot remember I ever had a winsock error in
> OnDataAvailable of TWSocket. Someone has ???
>
> Any other such expriances ? I think this is intersting to share.
I don't remember having one.
--
[EMAIL PROTECTED]
http://www.overbyte.be
--
To unsubscribe or change your se
> how does TWSocket.ThreadAttach work?
> I don't see where have to specify the thread.
> Or is it to be used in TThread.Execute and
> then is's automatically attached to the current one?
You've got it !
Be aware that a thread context is not directly related to a thread's method.
--
[EMAIL PRO
>
> Hello,
>
> how does TWSocket.ThreadAttach work? I don't see where have
> to specify the
> thread.
> Or is it to be used in TThread.Execute and then is's
> automatically attached
> to
> the current one?
>
hm, curious. Now it works if I have the receiving component statically on
the data
Hello Markus,
> Or is it to be used in TThread.Execute and then is's automatically attached
Yes. You have to detach in the thread where it is created, attach in new
thread. See also the example coming with ICS.
---
Rgds, Wilfried
http://www.mestdagh.biz
--
To unsubscribe or change your settin
15 matches
Mail list logo