Hello FRancois and Arno,
I found a cure for the problem:
SetWindowLong(Handle, 0, 0)); // in both THttpConnection and THttpCli
descendents' ddestructor
SetWindowLong(FCtrlSocket->Handle, 0, 0); // in THttpCli destructor.
I am using TService, NOFORMS and MT and I am constructing/destructing in
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 tr
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"
Sent: Frid
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
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())
>
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-
wi
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())
{
FSessionClosedFlag
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 so probaly the compiler doesn't li
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 pr
Scrive Arno Garrels <[EMAIL PROTECTED]>:
> 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}
> >> TComp
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 pr
Fastream Technologies wrote:
> Hello,
>
> - Original Message -
> From: "Arno Garrels" <[EMAIL PROTECTED]>
> To: "ICS support mailing"
> Sent: Friday, December 23, 2005 5:16 PM
> Subject: Re: [twsocket] Cannot create a hidden windows for TWSocket
>
>
>> Fastream Technologies 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 all other privat vars
Hello,
- Original Message -
From: "Arno Garrels" <[EMAIL PROTECTED]>
To: "ICS support mailing"
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 architecture
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
How I can send email with body in Hebrew?
Usually I work in English US local.
I would like to use TSmtpCli.
If I specify ContentType := smtpHTML,
my Microsoft Outlook receives the text as question marks.
Thank you,
Vlad
--
To unsubscribe or change your settings for TWSocket mailing list
please
Fastream Technologies wrote:
> - Original Message -
> From: "Arno Garrels" <[EMAIL PROTECTED]>
> To: "ICS support mailing"
> 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 mult
- Original Message -
From: "Arno Garrels" <[EMAIL PROTECTED]>
To: "ICS support mailing"
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 multiple threads.
> Could be a multi threading
Hello,
- Original Message -
From: "Arno Garrels" <[EMAIL PROTECTED]>
To: "ICS support mailing"
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 (Invalid handle).
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
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"
Sent: Friday, December 23, 2005 10:22 AM
Subject: Re: [tw
Sometimes the code gives 10022 (Invalid handle). Do not know what's wrong.
- Original Message -
From: "Francois Piette" <[EMAIL PROTECTED]>
To:
Sent: Friday, December 23, 2005 11:35 AM
Subject: [twsocket] Cannot create a hidden windows for TWSocket
>> Ok. The problem when I attach the
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}
TCustomWSo
> 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?
You should try to get windows error number/message to know more.
Usually you get this when Windows run out of resources.
The error created in XSocket
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 Me
Hello Francois,
- Original Message -
From: "Francois Piette" <[EMAIL PROTECTED]>
To: "ICS support mailing"
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?
>
> I don't
26 matches
Mail list logo