CFileVersionInfo class

This article was submitted .

CFileVersionInfo is a small MFC class that wraps the Windows File Version API.

The File Version Windows API can be used to examine any application's FILEVERSION resource. This resource is often used to check if a file is more recent during file copy operations.


OpenOpen file.
GetCommentsReturns the file version comment.
GetCompanyNameReturns the company name property.
GetFileDescriptionReturns the file description property.
GetFileVersionReturns the file's version.
GetInternalNameReturns the internal name property.
GetLegalCopyrightReturns the copyright notice property.
GetLegalTrademarksReturns the trademark property.
GetOriginalFilenameReturns the file's original name.
GetProductNameReturns the product name property.
GetProductVersionReturns the product version property.
GetPrivateBuildReturns the file's build flag.
GetSpecialBuildReturns the file's build status.

Source Code Dependencies

Microsoft MFC Library
My Global MFC functions

Download Files

DownloadSource Code (4 Kb)

To the top