Am 07.03.2012 19:06, schrieb Kjow:
2012/3/7 Hans-Peter Diettrichdrdiettri...@aol.com:
Kjow schrieb:
Are you sure that your other platforms support a standardized version
information in their binaries?
DoDi
It's my first experience about managing file version numbering, do
linux and mac
Hi all,
I need to get the build number of an external program, but I don't
know how to do.
vinfo.pas method
(http://lists.lazarus.freepascal.org/pipermail/lazarus/2010-July/054335.html)
works very well for the program itself... but how can I read the build
number of an other file exe?
Thank
works for Windows, not yet rewritten for LINUX.
function ReadVersionInfo(const sProgram: string; Out vv: PTVersion)
:Boolean;
var
Info: PVSFixedFileInfo;
InfoSize: Cardinal;
nHwnd: DWORD;
BufferSize: DWORD;
Buffer: Pointer;
begin
ZeroMemory(Info,
2012/3/7 Antonio Fortuny a.fort...@sitasoftware.lu:
works for Windows, not yet rewritten for LINUX.
Thank you!
Unfortunately I need a cross-platform solution.
Kjow
--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
On Wed, 7 Mar 2012, Kjow wrote:
2012/3/7 Antonio Fortuny a.fort...@sitasoftware.lu:
works for Windows, not yet rewritten for LINUX.
Thank you!
Unfortunately I need a cross-platform solution.
Kjow
The below unit does what you need.
It can be made more simple, I still need to include the
2012/3/7 michael.vancann...@wisa.be:
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
2012/3/7 Kjow antispamm...@gmail.com:
2012/3/7 michael.vancann...@wisa.be:
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
Kjow schrieb:
I need to extract the build number from an other file (like 'C:\test.exe' ).
Are you sure that your other platforms support a standardized version
information in their binaries?
DoDi
--
___
Lazarus mailing list
2012/3/7 Hans-Peter Diettrich drdiettri...@aol.com:
Kjow schrieb:
Are you sure that your other platforms support a standardized version
information in their binaries?
DoDi
It's my first experience about managing file version numbering, do
linux and mac support it?
Thank you,
Kjow
--
On Wed, 7 Mar 2012, Kjow wrote:
2012/3/7 michael.vancann...@wisa.be:
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
On Wed, 7 Mar 2012, Kjow wrote:
2012/3/7 Kjow antispamm...@gmail.com:
2012/3/7 michael.vancann...@wisa.be:
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
2012/3/7 Michael Van Canneyt mich...@freepascal.org:
Are you sure this program has version info ? On windows, the standard
windows call is used to extract the info.
Michael.
I found the issue: if ProductVersion is setted, the procedure
reads info here, else the procedure reads info from
12 matches
Mail list logo