[Lazarus] Version info
Alexsander Rosa
alexsander.rosa at gmail.com
Mon Sep 17 16:57:58 CEST 2012
Do you have control over this other program? When I need this for my own
software, I usually add a "--version" command line option.
When called with "--version" the program outputs the version and terminate.
2012/9/17 Antonio Fortuny <a.fortuny at sitasoftware.lu>
>
>
> Le 17/09/2012 16:12, Alexsander Rosa a écrit :
>
>> It works on Linux.
>>
> 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.
>
> what if, the version prgram is vpgm and I do:
> vpgm /folder/progs/anotherprogram
> for which I do not have a handle and is even not loaded.
>
> 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.
>
> Antonio.
>
>
>
> --
> ______________________________**_________________
> Lazarus mailing list
> Lazarus at lists.lazarus.**freepascal.org<Lazarus at lists.lazarus.freepascal.org>
> http://lists.lazarus.**freepascal.org/mailman/**listinfo/lazarus<http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus>
>
--
Atenciosamente,
Alexsander da Rosa
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20120917/853d9560/attachment-0003.html>
More information about the Lazarus
mailing list