Indy example returns Runtime Error (211) lazarus / 38-Networking and Web Programming ---------------------------------------------------------------------- vfclists · 2011-11-20 12:25 I am trying to use an Indy example from stackoverflow - http://stackoverflow.com/questions/576538/delphi-how-to-get-all-local- ips and I always get Runtime Error (211).  Code: [Select] idStack := TIdStack.Create;   TIdStack.IncUsage;   try     network := idStack.LocalAddress;     mmoResults01.Lines.Assign(idStack.LocalAddresses);     //PrintLines(idStrings);   finally     TIdStack.DecUsage;   end;   FreeAndNil(idstack); Any ideas? ---------------------------------------------------------------------- marcov · 2011-11-20 12:32 It's an example for Indy9, are you using indy 9? If so where did you obtain it? ---------------------------------------------------------------------- vfclists · 2011-11-20 12:49 Quote from: marcov on November 20, 2011, 01:32:02 pmIt's an example for Indy9, are you using indy 9? If so where did you obtain it? My version of Indy , 10.2.0.3  uses the code that is described as Indy 9 in the question. The example for Indy 10 is not implemented in 10.2.0.3 ---------------------------------------------------------------------- marcov · 2011-11-20 19:39 Afaik one must add a binding using the binding (bindings?) property for all interfaces (0.0.0.0) This is a Indy9-10 difference. ---------------------------------------------------------------------- vfclists · 2011-11-20 22:20 Quote from: marcov on November 20, 2011, 08:39:51 pmAfaik one must add a binding using the binding (bindings?) property for all interfaces (0.0.0.0) This is a Indy9-10 difference. I think the problem is a Pascal syntax issue rather than a networking issue. The runtime error appears to a problem with virtual implementations, code generation or something related. Although it compiles fine the runtime error appears when the strings have to be copied over.