> > Constructor TTCPHttpDaemon.Create(I, P: String); > > Begin > > Inherited Create(true); // <<<<< create suspended > > > > fSock := TTCPBlockSocket.Create; > > fIP := I; > > fPort := P; > > Resume; // <<<<<<<<<<< let it run > > end; > > > > so the thread will not execute before everything is initialized. > > > >
I tested that too, with false or true inherited Same behavior.. L505 ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ synalist-public mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/synalist-public
