VERSTAMP: Accesses the Version Information Resource for a File

VERSTAMP demonstrates how to use the VER.DLL and VER.LIB libraries, which provide version-stamping for Microsoft(R) Windows(TM) and MS-DOS(R) executable files.

Use the Open command from the File menu to select a source file and to display its file version information in the main window. If the file does not have a version information resource, VERSTAMP notifies you with a message box. If the file has a version information resource, press the More Info button in the main window to display the information. If you press the Install File button, VERSTAMP uses the VerFindFile function to determine where the source file should be installed. If VerFindFile returns an error, VERSTAMP displays a message box prompting you to continue or to abort. If you choose to continue, VERSTAMP proceeds with the installation, captures the result of VerInstallFile, and displays it in a message box.

VERSTAMP was built and tested under Microsoft Windows version 3.1.

KEYWORDS: GetFileVersionInfo; GetFileVersionInfoSize; GetSystemDirectory; GetWindowsDirectory; VerFindFile; VerInstallFile; VerLanguageName; VerQueryValue;

{ewc navigate.dll, ewbutton, /Bcodeview /T"Click to open or copy files in the verstamp project." /C"samples}