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 <[email protected]> > > > 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 > [email protected].**freepascal.org<[email protected]> > http://lists.lazarus.**freepascal.org/mailman/**listinfo/lazarus<http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus> > -- Atenciosamente, Alexsander da Rosa
-- _______________________________________________ Lazarus mailing list [email protected] http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
