Do you have control over this other program? When I need this for my own software, I usually add a "--version" command line option.<div>When called with "--version" the program outputs the version and terminate.<br>
<br><div class="gmail_quote">2012/9/17 Antonio Fortuny <span dir="ltr"><<a href="mailto:a.fortuny@sitasoftware.lu" target="_blank">a.fortuny@sitasoftware.lu</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
<br>
Le 17/09/2012 16:12, Alexsander Rosa a écrit :<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
It works on Linux.<br>
</blockquote>
Indeed. My problem is to obtain the same information for any other file and not only for my own one. Again for this I already have some other functions.<br>
<br>
what if, the version prgram is vpgm and I do:<br>
vpgm /folder/progs/anotherprogram<br>
for which I do not have a handle and is even not loaded.<br>
<br>
As the function to get the resources works with the handle, this will not work anyway. same for a library which cannot be launched on its own.<span class="HOEnZb"><font color="#888888"><br>
<br>
Antonio.</font></span><div class="HOEnZb"><div class="h5"><br>
<br>
<br>
--<br>
______________________________<u></u>_________________<br>
Lazarus mailing list<br>
<a href="mailto:Lazarus@lists.lazarus.freepascal.org" target="_blank">Lazarus@lists.lazarus.<u></u>freepascal.org</a><br>
<a href="http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus" target="_blank">http://lists.lazarus.<u></u>freepascal.org/mailman/<u></u>listinfo/lazarus</a><br>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br>Atenciosamente,<br>Alexsander da Rosa<br><br><br>
</div>