SAMPLE: VERSTAMP Accesses the File Version Information ResouceLast reviewed: February 15, 1996Article ID: Q92441 |
The information in this article applies to:
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. To select an executable, a dynamic-link library (DLL), or a driver file source and display its file version information in the main window, choose the Open command from the File menu. 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, choose the More Info button in the main window to display the information. If you choose 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 abort. If you choose to continue, VERSTAMP proceeds with the installation, captures the result of VerInstallFile(), and displays it in a message box. Download VERSTAMP.EXE, a self-extracting file, from the Microsoft Software Library (MSL) on the following services:
|
Additional reference words: 3.10 Softlib VERSTAMP.EXE
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |