I dont really understand what do you mean :( They are being created by main form and are being destroyed by timer on main form. I'm not creating separate thread or anything... But maybe its important that first error (after running application) is always "invalid pointer operation". It never occurs at first cycle.
Greetings Ann ---- Wiadomość Oryginalna ---- Od: Wilfried Mestdagh <[EMAIL PROTECTED]> Do: ICS support mailing <twsocket@elists.org> Data: Thu, 9 Feb 2006 09:22:26 +0100 Temat: Re: [twsocket] DNSQuery - bugreport > Hi Ann, > > > Of course TDNSQuery is running in TCP mode and MultiThreaded is set > > to True. > > Do you execute it in a separate thread context ? Because that can be the > reason of access violation. A component create / destroy should be in > same thread context. > > --- > Rgds, Wilfried [TeamICS] > http://www.overbyte.be/eng/overbyte/teamics.html > http://www.mestdagh.biz > > Wednesday, February 8, 2006, 11:27, Ja wrote: > > > Hi. > > I've made a bugreports from last 24h... could anybody help me to > > analyze it? > > > http://theweed.org/bugreport.txt > > > What can i say is that bugs started when addeded checking few names > > with DNSQuery component every ... 10 minutes. > > > How does it work? > > Every 10 minutes TDNSQuery component is being created for each > > domain. In its tag it has tickcount (in seconds) for timeout. In > > OnRequestDone every component marks in Listbox the result and sets > > it tag to -1 ... in the meantime timer4 is running... that searches > > for TDNSQuery components on the form, checking if the tag is -1 or > > difference between tag and current tick count is more than 30 > > seconds... and destroys it. > > > I've repaired bug with winsock buffer by changing interval to 10 > > minutes so system could close all sockets. > > > Of course TDNSQuery is running in TCP mode and MultiThreaded is set > > to True. > > > Please HELP me. > > Thank you! > > Ann > > > -- > 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 > -- 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