On 20 November 2011 16:57, Frank Church <vfcli...@gmail.com> wrote: > I am trying to use an Indy example from stackoverflow - > http://stackoverflow.com/questions/576538/delphi-how-to-get-all-local-ipsand > I always get Runtime Error (211). It is more of a language issue than a > network related question, which is why I am reposting it here. > > Is it due to some difference between Delphi and Free Pascal > > > idStack := TIdStack.Create; >> TIdStack.IncUsage; >> try >> network := idStack.LocalAddress; >> mmoResults01.Lines.Assign(idStack.LocalAddresses); >> //PrintLines(idStrings); >> finally >> >> TIdStack.DecUsage; >> end; >> FreeAndNil(idstack); >> >> > Any ideas? > > Any updates? I don't know if I have to subclass or derive something to avoid this error. I will post some sample code for testing.
> -- > Frank Church > > ======================= > http://devblog.brahmancreations.com > -- Frank Church ======================= http://devblog.brahmancreations.com
_______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal