Thank you Francois, I'll try that and when I've got it working I'll post the 
code.

Cheers,

----- Original Message ----- 
From: "Francois PIETTE" <[EMAIL PROTECTED]>
To: "ICS support mailing" <[email protected]>
Sent: Saturday, November 24, 2007 3:39 PM
Subject: Re: [twsocket] TWSocket component within DLL


>> I'm trying to use TWSocket to listen for incoming data and display it on
>> a console. TWSocket is initialised and used within a Delphi DLL.
>>
>> The problem I have is that I initialise the TWSocket component, but none
>> of the events fire to tell me about the incoming data. If I use the
>> component in a delphi app it works fine. Is there something I need to do
>> for DLL use?
>
> You need a message pump for event to fire.
> To be independent of the DLL hosting application, you should probably put
> all ICS code within a thread in the DLL, with the thread having his own
> message pump.
> There is such a sample in ICS-V5. If I remember well, it uses FTP but it 
> is
> not really different whatever ICS component you use.
>
> Contribute to the SSL Effort. Visit http://www.overbyte.be/eng/ssl.html
> --
> [EMAIL PROTECTED]
> The author of the freeware multi-tier middleware MidWare
> The author of the freeware Internet Component Suite (ICS)
> http://www.overbyte.be
>
> -- 
> To unsubscribe or change your settings for TWSocket mailing list
> please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket
> Visit our website at http://www.overbyte.be
>
>
> __________ NOD32 2684 (20071125) Information __________
>
> This message was checked by NOD32 antivirus system.
> http://www.eset.com
>
> 

-- 
To unsubscribe or change your settings for TWSocket mailing list
please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be

Reply via email to