> 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