[fpc-pascal] Indy example returns Runtime Error (211)
Frank Church
vfclists at gmail.com
Sun Nov 20 17:57:15 CET 2011
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-pascal/attachments/20111120/9ec9f503/attachment.html>
More information about the fpc-pascal
mailing list