Re: [twsocket] Possible bug and solution in TWndControl

2007-02-07 Thread Dan
> -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On > Behalf Of Arno Garrels > Sent: 07 February 2007 17:08 > To: ICS support mailing > Subject: Re: [twsocket] Possible bug and solution in TWndControl > > Fastream Technologies wrote: > >> Initialize means you assign

Re: [twsocket] Possible bug and solution in TWndControl

2007-02-07 Thread Arno Garrels
Fastream Technologies wrote: >> Initialize means you assign it in an Intialization section, do you? > > There is no such technique in C++! I have an intermediate Pascal > class but I did not notice this technique. I was hoping you teached me how to do the same in C++, anyway make sure this variab

Re: [twsocket] Possible bug and solution in TWndControl

2007-02-07 Thread Fastream Technologies
BTW, you may have wondered why don't you debug the TIcsWndHandler from within your project? The problem is my application immediately goes out of memory when compiled in debug mode! With some tweaks I can put breakpoints to C++ parts but does not let me in Pascal!!! Please DO HELP! Regards, S

Re: [twsocket] Possible bug and solution in TWndControl

2007-02-07 Thread Fastream Technologies
Arno, can you tell me what to put in a THttpConnection descendent? Also in the same thread, there is also THttpCli's existing. But they are directly inherited from the ICS code to C++ which has no "initialization" technique! What would you suggest? Thanks! SZ - Original Message - From

Re: [twsocket] Possible bug and solution in TWndControl

2007-02-07 Thread Fastream Technologies
FYI, it is still not working with the WMAPP+100 fix I posted. I still get test exceptions. Francois I sent you a private email, have you received it? Best Regards, SZ - Original Message - From: "Arno Garrels" <[EMAIL PROTECTED]> To: "ICS support mailing" Sent: Wednesday, February 07,

Re: [twsocket] Possible bug and solution in TWndControl

2007-02-07 Thread Fastream Technologies
Hello, - Original Message - From: "Arno Garrels" <[EMAIL PROTECTED]> To: "ICS support mailing" Sent: Wednesday, February 07, 2007 3:11 PM Subject: Re: [twsocket] Possible bug and solution in TWndControl > Fastream Technologies wrote: >> Arno, >> >> - Original Message - >> From:

Re: [twsocket] Possible bug and solution in TWndControl

2007-02-07 Thread Arno Garrels
Fastream Technologies wrote: > Arno, > > - Original Message - > From: "Arno Garrels" <[EMAIL PROTECTED]> > To: "ICS support mailing" > Sent: Wednesday, February 07, 2007 2:43 PM > Subject: Re: [twsocket] Possible bug and solution in TWndControl > > >> Fastream Technologies wrote: >> >>

Re: [twsocket] Possible bug and solution in TWndControl

2007-02-07 Thread Fastream Technologies
Arno, - Original Message - From: "Arno Garrels" <[EMAIL PROTECTED]> To: "ICS support mailing" Sent: Wednesday, February 07, 2007 2:43 PM Subject: Re: [twsocket] Possible bug and solution in TWndControl > Fastream Technologies wrote: > >> I did not understand what you propose to have a

Re: [twsocket] Possible bug and solution in TWndControl

2007-02-07 Thread Arno Garrels
Fastream Technologies wrote: > I did not understand what you propose to have a single wndhandler per > thread with messages starting from WM_APP + 100--how to do it > properly? As we discussed yesterday, increase value of constant WH_MAX_MSG, the higher the value the less windows will be create

Re: [twsocket] Possible bug and solution in TWndControl

2007-02-07 Thread Fastream Technologies
- Original Message - From: "Arno Garrels" <[EMAIL PROTECTED]> To: "ICS support mailing" Sent: Wednesday, February 07, 2007 10:51 AM Subject: Re: [twsocket] Possible bug and solution in TWndControl > Fastream Technologies wrote: >> Ok. Then there is a bug in ThreadAttach/Detach which Arn

Re: [twsocket] Possible bug and solution in TWndControl

2007-02-07 Thread Arno Garrels
Fastream Technologies wrote: > Ok. Then there is a bug in ThreadAttach/Detach which Arno said he did > not test against. Because my code is so simple! It just has three > custom messages in WM_USER + 100-103 and the ICS messages are in > WM_APP + 100. The only possibility is that my init code in th

Re: [twsocket] Possible bug and solution in TWndControl

2007-02-07 Thread Fastream Technologies
Hello, I traced the bug to here: function TIcsWndHandlerPool.GetWndHandler( HandlerCount : UINT; ThreadID : THandle) : TIcsWndHandler; var I : Integer; L : TIcsWndHandlerList; begin // Search the list which has same thread ID I := FList.Count - 1; while (I >= 0) an