Am Sonntag, 23. Oktober 2011 00:04 schrieb Graeme Geldenhuys: > On 22/10/2011, Marco van de Voort wrote: > > I haven't tried for years, but I can remember some strange problems > > designtime that went away if you manually added a tidbinding in > > formcreate. > > I'm not using design-time usage at all, everything is done manually > via code. I'm creating a TIdHTTPServer instance via code, set the > port, one basic event handler, and then when I try to set Active = > True, that's when the error pops up.
For TIdTCPServer I manually add the IPv4 binding like this: IdTCPServer1.Bindings.add.IPVersion:=Id_IPv4; IdTCPServer1.Active:=true; Without that, Activate fails on linux systems that have ipv6 enabled. regards Burkhard _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal