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?

-- 
Frank Church

=======================
http://devblog.brahmancreations.com
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to