Re: [twsocket] Any known bugs of THttpCli after the last beta?

2005-12-23 Thread Fastream Technologies
Hello Francois, - Original Message - From: Francois Piette [EMAIL PROTECTED] To: ICS support mailing twsocket@elists.org Sent: Friday, December 23, 2005 9:38 AM Subject: Re: [twsocket] Any known bugs of THttpCli after the last beta? Francois, could this be a bug in ICS client sockets?

Re: [twsocket] Any known bugs of THttpCli after the last beta?

2005-12-23 Thread Fastream Technologies
Ok. The problem when I attach the debugger to the service process seems to be Cannot create a hidden windows for TWSocket.. Any cure for this? I am using 32 THttpConnection/THttpCli pairs per thread. Could this be a reason? I tried with 16 but still an AV. Best Regards, SZ - Original

[twsocket] D7 compiler trouble

2005-12-23 Thread Arno Garrels
This one displays anything below in the private section, does not work at all TCustomWSocket = class( {$IFNDEF NO_DEBUG_LOG} TIcsBaseLogComp {$ELSE} TComponent {$ENDIF}) Displays TCustomWSocket as a private var an puts all other privat vars under protected {$IFNDEF NO_DEBUG_LOG}

Re: [twsocket] Cannot create a hidden windows for TWSocket

2005-12-23 Thread Fastream Technologies
Sometimes the code gives 10022 (Invalid handle). Do not know what's wrong. - Original Message - From: Francois Piette [EMAIL PROTECTED] To: twsocket@elists.org Sent: Friday, December 23, 2005 11:35 AM Subject: [twsocket] Cannot create a hidden windows for TWSocket Ok. The problem

Re: [twsocket] Any known bugs of THttpCli after the last beta?

2005-12-23 Thread Fastream Technologies
One last note: this happens with 8 connections/thread as well and with 16 stress tester socrates threads. Thank you in advance, SZ - Original Message - From: Fastream Technologies [EMAIL PROTECTED] To: ICS support mailing twsocket@elists.org Sent: Friday, December 23, 2005 10:22 AM

Re: [twsocket] Cannot create a hidden windows for TWSocket

2005-12-23 Thread Arno Garrels
Fastream Technologies wrote: Sometimes the code gives 10022 (Invalid handle). Do not know what's wrong. 10022 Invalid argument An invalid value was given for one of the arguments to a function. For example, the value given for the origin when positioning a file pointer (by means of a call to

Re: [twsocket] Cannot create a hidden windows for TWSocket

2005-12-23 Thread Fastream Technologies
Hello, - Original Message - From: Arno Garrels [EMAIL PROTECTED] To: ICS support mailing twsocket@elists.org Sent: Friday, December 23, 2005 2:22 PM Subject: Re: [twsocket] Cannot create a hidden windows for TWSocket Fastream Technologies wrote: Sometimes the code gives 10022

Re: [twsocket] Cannot create a hidden windows for TWSocket

2005-12-23 Thread Arno Garrels
Fastream Technologies wrote: - Original Message - From: Arno Garrels [EMAIL PROTECTED] To: ICS support mailing twsocket@elists.org Sent: Friday, December 23, 2005 2:22 PM Subject: Re: [twsocket] Cannot create a hidden windows for TWSocket I saw this error while I was playing with

Re: [twsocket] Cannot create a hidden windows for TWSocket

2005-12-23 Thread Arno Garrels
Fastream Technologies wrote: I have no file pointers. Also in my architecture, I create in the main listener thread, ThreadAttach in the worker thread context If you have multiple instances per thread, are all instances created at the same time? How do you wait in the listener thread until a

Re: [twsocket] Cannot create a hidden windows for TWSocket

2005-12-23 Thread Fastream Technologies
Hello, - Original Message - From: Arno Garrels [EMAIL PROTECTED] To: ICS support mailing twsocket@elists.org Sent: Friday, December 23, 2005 5:16 PM Subject: Re: [twsocket] Cannot create a hidden windows for TWSocket Fastream Technologies wrote: I have no file pointers. Also in my

Re: [twsocket] Cannot create a hidden windows for TWSocket

2005-12-23 Thread Arno Garrels
Fastream Technologies wrote: Hello, - Original Message - From: Arno Garrels [EMAIL PROTECTED] To: ICS support mailing twsocket@elists.org Sent: Friday, December 23, 2005 5:16 PM Subject: Re: [twsocket] Cannot create a hidden windows for TWSocket Fastream Technologies wrote: I

Re: [twsocket] D7 compiler trouble

2005-12-23 Thread Arno Garrels
Maurizio Lotauro wrote: Scrive Arno Garrels [EMAIL PROTECTED]: This one displays anything below in the private section, does not work at all TCustomWSocket = class( {$IFNDEF NO_DEBUG_LOG} TIcsBaseLogComp {$ELSE} TComponent {$ENDIF}) Displays TCustomWSocket as a private var an puts

Re: [twsocket] Cannot create a hidden windows for TWSocket

2005-12-23 Thread Fastream Technologies
Found an fixed the problem. Now I create everything ICS in the same thread as the THttpConnection constructor and use ThreadAttach detach. FYI, see the documentation for DestroyWindow. It explains that the threads of the constructor and the destructor must be the same for successful -hidden-

Re: [twsocket] Cannot create a hidden windows for TWSocket

2005-12-23 Thread Arno Garrels
Fastream Technologies wrote: The error occurs when the client is disconnected. The problematic message ID is 1025. Here is the non-ICS code: void __fastcall httpServerClientClass::TriggerSessionClosed(WORD ErrCode) { if(!FSessionClosedFlag !serverThread-isTerminated()) {

Re: [twsocket] D7 compiler trouble

2005-12-23 Thread Arno Garrels
Maurizio Lotauro wrote: Scrive Arno Garrels [EMAIL PROTECTED]: Please try this: [...] On that line TForm1 = class(TMyForm) I get an error: Expected ':' but '=' found. But that error is on a dialog box instead on the message windows. In this case TForm1 is used in the dfm

Re: [twsocket] Cannot create a hidden windows for TWSocket

2005-12-23 Thread Fastream Technologies
The problem persists!!! : This load balancer has two sockets per client: one inward and one outward. The destroyHTTPClient is the THttpCli for the web server connection. Regards, SZ - Original Message - From: Arno Garrels [EMAIL PROTECTED] To: ICS support mailing

Re: [twsocket] D7 compiler trouble

2005-12-23 Thread Maurizio Lotauro
On 23-Dec-05 18:57:05 Arno Garrels wrote: Maurizio Lotauro wrote: [...] But that error is on a dialog box instead on the message windows. In this case TForm1 is used in the dfm so probaly the compiler doesn't like the define around cleass declaration. I'm still using D5. I tried it with