I built a small test to verify TIcsWndHandlerPool.GetWndHandler and it works perfectly. So the problem is elsewhere.
Are you deriving a component from an ICS component ? If you do, be sure to respect the rules with AllocateMsgHandlers, FreeMsgHandlers and MsgHandlersCount. If you don't, you may have the error you get. -- [EMAIL PROTECTED] http://www.overbyte.be ----- Original Message ----- From: "Francois PIETTE" <[EMAIL PROTECTED]> To: "ICS support mailing" <twsocket@elists.org> Sent: Saturday, June 10, 2006 4:55 PM Subject: Re: [twsocket] ICSv6 Thread Attach/Detach problem > Something wrong in TIcsWndHandlerPool.GetWndHandler ? > > -- > [EMAIL PROTECTED] > http://www.overbyte.be > > ----- Original Message ----- > From: "Fastream Technologies" <[EMAIL PROTECTED]> > To: "ICS support mailing" <twsocket@elists.org> > Sent: Saturday, June 10, 2006 9:20 AM > Subject: Re: [twsocket] ICSv6 Thread Attach/Detach problem > > >> Now I get this exception: >> >> function TIcsWndHandler.AllocateMsgHandler(Obj: TIcsWndControl): UINT; >> var >> I : UINT; >> begin >> if FMsgLow < WM_USER then >> raise EIcsException.Create('MsgLow not defined'); >> if FMsgCnt >= WH_MAX_MSG then >> raise EIcsException.Create('No more free message'); // FIRED after >> a >> dozen page views!!! >> I := 0; >> >> Any idea? >> >> Regards, >> >> SZ -- To unsubscribe or change your settings for TWSocket mailing list please goto http://www.elists.org/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be