Registrations are now open. Join us today!
There is still a lot of work to do on the wiki yet! More information about editing can be found here.
Already have an account?

Microsoft KB Archive/92441

From BetaArchive Wiki

SAMPLE: VerStamp.exe Accesses File Version Information Resource


The information in this article applies to:

  • Microsoft Windows Software Development Kit (SDK) 3.1


VerStamp.exe 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.


The following file is available for download from the Microsoft Download Center:


For additional information about how to download Microsoft Support files, click the article number below to view the article in the Microsoft Knowledge Base:

Q119591 How to Obtain Microsoft Support Files from Online Services

Microsoft used the most current virus detection software available on the date of posting to scan this file for viruses. Once posted, the file is housed on secure servers that prevent any unauthorized changes to the file.

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.

Additional query words:

Keywords : kbfile kbsample kb16bitonly kbResource kbGrpDSUser kbOSWin310
Issue type :
Technology : kbAudDeveloper kbWin3xSearch kbSDKSearch kbWinSDKSearch kbWinSDK310

Last Reviewed: January 20, 2000
© 2001 Microsoft Corporation. All rights reserved. Terms of Use.