Page 1 of 1

Exe version

Posted: Tue Apr 03, 2007 7:46 am
by Ugo
Hi all,
i define this file:

Code: Select all

/****************************************************************************


MyTestFile.rc

produced by Borland Resource Workshop


*****************************************************************************/
#define __HARBOUR__

1 24 "\Work\XPStyle\WindowsXP.Manifest"

1 VERSIONINFO
FILEVERSION 7, 4, 3, 0
PRODUCTVERSION 7, 4, 3, 0
{
 BLOCK "StringFileInfo"
 {
  BLOCK "040904E4"
  {
   VALUE "Author", "MyAuthorName\000"
   VALUE "CompanyName", "MyCompanyName\000"
   VALUE "FileDescription", "MyFileDescription\000"
   VALUE "FileVersion", "7.4.3.0\000"
   VALUE "InternalName", "MyInternalName\000"
   VALUE "LegalCopyright", "\251 MyName 2004-2007\000"
   VALUE "ProductName", "MyProduct\000"
   VALUE "ProductVersion", "7.4.3.0\000"
   VALUE "OriginalFilename", "MyFile.exe\000"
   VALUE "PrivateBuild","\000"
   VALUE "SpecialBuild","\000"
  }
 }
 BLOCK "VarFileInfo"
 {
  VALUE "Translation", 1033, 1252
 }
}
is possible to retrieve the value at runtime? how?
there are other values to insert?
where I can find documentation?

Posted: Thu Aug 09, 2007 11:49 am
by Antonio Linares
Ugo,

Please review samples\FileVer.prg

Posted: Thu Aug 09, 2007 1:13 pm
by Ugo
Antonio Linares wrote:Please review samples\FileVer.prg
Antonio,
thank you for your reply.

It is also possible to insert a personal variable! :D
Very very good!!

Posted: Thu Aug 09, 2007 2:42 pm
by reinaldocrespo
Antonio;

Hi.

When did you release filever.prg? For some reason I can't seem to find it.

Thank you,



Reinaldo.

Posted: Thu Aug 09, 2007 3:55 pm
by Antonio Linares
Reinaldo,

August 2006