<div dir="ltr">Hi Mattias,<div><br></div><div>I have several different versions on different machines, so I will check it out.</div><div><br></div><div>Thank you for the hint!</div><div><br></div><div> Thank you,</div><div>
Noah Silva<br><div class="gmail_extra"><br><br><div class="gmail_quote">2013/7/14 Mattias Gaertner <span dir="ltr"><<a href="mailto:nc-gaertnma@netcologne.de" target="_blank">nc-gaertnma@netcologne.de</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">On Sun, 14 Jul 2013 09:13:42 +0900<br>
Noah Silva <<a href="mailto:shiruba@galapagossoftware.com">shiruba@galapagossoftware.com</a>> wrote:<br>
<br>
> Hi,<br>
><br>
> In Delphi, there exists: TObject Class Function UnitName, which allows you<br>
> to get the Unit of a given class. This seems not to be implemented in<br>
> FreePascal.<br>
<br>
</div>It exists since many years in fpc.<br>
What compiler version are you using?<br>
<div class="im HOEnZb"><br>
<br>
> If there a similar function available in FreePascal? (I am sure there is<br>
> some way to do this using the VMT.)<br>
> Alternatively, is there an easy way to just return the name of the current<br>
> unit?<br>
<br>
<br>
</div><span class="HOEnZb"><font color="#888888">Mattias<br>
</font></span><div class="HOEnZb"><div class="h5">_______________________________________________<br>
fpc-pascal maillist - <a href="mailto:fpc-pascal@lists.freepascal.org">fpc-pascal@lists.freepascal.org</a><br>
<a href="http://lists.freepascal.org/mailman/listinfo/fpc-pascal" target="_blank">http://lists.freepascal.org/mailman/listinfo/fpc-pascal</a><br>
</div></div></blockquote></div><br></div></div></div>