// Created by Larry Leonard, Definitive Solutions, Inc. #ifndef MYATLFILEVERSIONH_ #define MYATLFILEVERSIONH_ #pragma once ///////////////////////////////////////////////////////////////////////////// // MyAtlFileVersion - requires linking to 'version.lib' class MyAtlFileVersion { // Construction. public: MyAtlFileVersion(); virtual ~MyAtlFileVersion(); // Operations. public: bool Open(const string& sModuleName); void Close(); string QueryValue(const string& sValueName, DWORD dwLangCharset = 0) const; bool GetFixedInfo(VS_FIXEDFILEINFO& vsffi) const; string GetFixedFileVersion() const; string GetFixedProductVersion() const; // Attributes. protected: LPBYTE m_lpVersionData; DWORD m_dwLangCharset; }; #endif // MYATLFILEVERSIONH_