I'll post the code tomorrow, but before then... - The RTC component is on a TDataModule, which is created in the Execute() method of the thread in which it runs. - The Connect method is called from the same thread as it's constructor, I'm not mixing threads.
I take it it's OK to put this component on a data module? Thanks, > From: arno.garr...@gmx.de > To: email@example.com > Date: Wed, 26 Aug 2009 21:09:12 +0200 > Subject: Re: [twsocket] Problem sending larger attachments > > Pete Williams wrote: > > Hi Arno > > > > One other thing: > > > > - The ICS code is running in a COM component that is running within a > > Server powered by RTC (realthinclient.com). > > - RTC does an awful lot of similar things to ICS (uses winsock etc), > > except that it does not have an SMTP component. > > - Is it possible that ICS and RTC are interferring with each other? > > I don't know, I do not use RTC. > > > > > Here's the code (event handlers, followed by the setup code): > > Where is the TSmtpCli object created and method Connect called followed > by a call to your message pump (which thread context etc.) ? > TGatewayPhoenix.init just assigns event handlers. > > > -- > Arno Garrels > > > > -- > 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 _________________________________________________________________ Windows Live Messenger: Thanks for 10 great years—enjoy free winks and emoticons. http://clk.atdmt.com/UKM/go/157562755/direct/01/ -- 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