Hello Francois,
I find that calling pause in OnSessionConnected() is effective.
But calling pause in OnClientDataAvailable() does not work.
OnClientDataAvailable() keeps getting fired. Any ideas?
--
Best regards,
Jack
Sunday, January 22, 2006, 10:33:21 AM, you wrote:
>>> Maybe use Pause/Resume
Hello,
Personnaly I like the actual Help and FAQ html documents available
from Overbyte's web site, they just need to be improved with some
missing methods/properties/events explanations and samples and could
be linked into single .CHM
Wiki has a big problem : you must be connected t
Hello all,
It's good to see the idea of an ICS Help File gaining momentum. I'm indebted
to Francois for the number of years that I have used his components and
would love to give something back. It will be a long-term project and
keeping up the momentum I suspect will be the problem.
Personally,
FastMM is delivered with BDS2006. It is known to be much better.
Read this article: http://bdn.borland.com/article/0,1410,33416,00.html
Move to a public mailing list or forum if you want to discuss about it
because it is out of topic here.
--
[EMAIL PROTECTED]
http://www.overbyte.be
- Origi
Sorry to bother. It was because of memory fragmentation. I used NexusMM and
it works fine now! BTW, I have heard there is one more manager for Borland
called FastMM. Does anybody have any experience about which one is better?
This may seem OT but it is crucial for server development (especially
Hello Wilfried,
That should not be the problem. You can do as many casting as you like in
C++. And you cannot directly convert unsigned int (WPARAM is indeed unsigned
int) without first converting to void*.
Regards,
SZ
- Original Message -
From: "Wilfried Mestdagh" <[EMAIL PROTECTED]
Hello SZ,
2 type casts, is this legal ?
(TObject*)(void*)msg.wParam
---
Rgds, Wilfried [TeamICS]
http://www.overbyte.be/eng/overbyte/teamics.html
http://www.mestdagh.biz
Saturday, February 18, 2006, 15:23, Fastream Technologies wrote:
> I found the problem: it is with THTTPConnection descende
I found the problem: it is with THTTPConnection descendent creation. Now I
need to replace FWSocketServer->OnSessionAvailable with my function, which I
could but the following code fails:
__fastcall THTTPServer::THTTPServer(TApplication *AOwner) :
THttpServer(AOwner)
{
OriginalSessionAv
If you still want to Suspend the thread another option may
be to call ThreadDetach before Suspend and ThreadAttach
when the thread is resumed again.
Something like this:
Create it;
WSocket1.ThreadDetach;
while not Terminated do
begin
WSocket1.ThreadAttach;
WSocket1.Send(So
Hello,
In additions to the reply of Francois: In the rare occasions that I have
a hidden window in a thread that has to be reused whole the time, I dont
go into suspended but just do nothing. The messagepump I uses, uses
GetMessage(), so if no message is post then GetMessage is in a wait
state wit
Both V5 and V6 betas are ready for BDS2006.
V5 beta is very stable. It's the main version I use in my own applications.
--
[EMAIL PROTECTED]
http://www.overbyte.be
- Original Message -
From: "Hoby Smith" <[EMAIL PROTECTED]>
To:
Sent: Saturday, February 18, 2006 6:25 AM
Subject: [twsocke
I use multithreading but I never had this problem.
I have one difference: my threads are handled by a thread pool class.
Basically all suspended threads do not have any hidden windows either by
itself or because they use components having a hidden windows. I have
separated the communication (ICS
12 matches
Mail list logo