On Wed, 7 Mar 2012, Kjow wrote:
2012/3/7 <[email protected]>:
The below unit does what you need.
It can be made more simple, I still need to include the unix code in the
fileinfo unit.
Michael.
unit getvers;
Thank you, but your unit extracts the build number from the same
program where it's included, right?
I need to extract the build number from an other file (like 'C:\test.exe' ).
Or am I in wrong?
You are right, but you can simply replace Paramstr(0) with any filename.
Michael.
--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus