I am trying to use an Indy example from stackoverflow - <a href="http://stackoverflow.com/questions/576538/delphi-how-to-get-all-local-ips" class="bbc_link" target="_blank">http://stackoverflow.com/questions/576538/delphi-how-to-get-all-local-ips</a> and 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.<br>
<br>Is it due to some difference between Delphi and Free Pascal<br><br><br><blockquote style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;" class="gmail_quote"><pre style="margin: 0; padding: 0;">
<code class="bbc_code"> idStack := TIdStack.Create;<br>  TIdStack.IncUsage;<br>  try<br>    network := idStack.LocalAddress;<br>    mmoResults01.Lines.Assign(idStack.LocalAddresses);<br>    //PrintLines(idStrings);<br>  finally<br>
    TIdStack.DecUsage;<br>  end;<br>  FreeAndNil(idstack);<br></code></pre></blockquote><br>Any ideas?<br clear="all"><br>-- <br>Frank Church<br><br>=======================<br><a href="http://devblog.brahmancreations.com">http://devblog.brahmancreations.com</a><br>