<br><br><div class="gmail_quote">On 20 November 2011 16:57, Frank Church <span dir="ltr"><<a href="mailto:vfclists@gmail.com">vfclists@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
I am trying to use an Indy example from stackoverflow - <a href="http://stackoverflow.com/questions/576538/delphi-how-to-get-all-local-ips" 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> 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"><font color="#888888"><br></font></blockquote><div><br>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. <br>
</div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"><font color="#888888">-- <br>Frank Church<br><br>=======================<br><a href="http://devblog.brahmancreations.com" target="_blank">http://devblog.brahmancreations.com</a><br>
</font></blockquote></div><br><br clear="all"><br>-- <br>Frank Church<br><br>=======================<br><a href="http://devblog.brahmancreations.com">http://devblog.brahmancreations.com</a><br>