$VERSIONINFO

From QB64 Wiki
Revision as of 17:54, 5 May 2017 by imported>Clippy
Jump to navigation Jump to search

The $VERSIONINFO GL Metacommand adds programmer text metadata to Windows only binaries for identification purposes across the OS.


Syntax

$VERSIONINFO: key=value


Parameters

  • Text keys: CompanyName, FileDescription, InternalName, LegalCopyright, LegalTrademarks, OriginalFilename, ProductName, Web, Comments
  • Numeric keys:FILEVERSION# and PRODUCTVERSION#


Description

  • Text and numerical values are string literals without quotes entered by programmer. No variables are accepted! (variable names would be interpreted as literals).
  • Numeric key=value must be 4 comma-separated numerical text values entered by programmer which usually stand for major, minor, revision and build)
  • Available starting with build 20170429/52 (released on April 29th 2017)


Example: Adding metadata to a Windows exe compiled with QB64:

$VERSIONINFO:CompanyName=Your company name goes here $VERSIONINFO:FILEVERSION#=1,0,0,0 $VERSIONINFO:PRODUCTVERSION#=1,0,0,0


See also



Navigation:
Keyword Reference - Alphabetical
Keyword Reference - By Usage
Main Wiki Page