System.SysUtils.GetProductVersion

提供: RAD Studio API Documentation
移動先: 案内検索

Delphi

function GetProductVersion(const AFileName: string; var AMajor, AMinor, ABuild: Cardinal): Boolean;

C++

extern DELPHI_PACKAGE bool __fastcall GetProductVersion(const System::UnicodeString AFileName, unsigned &AMajor, unsigned &AMinor, unsigned &ABuild);

プロパティ

種類 可視性 ソース ユニット
function public
System.SysUtils.pas
System.SysUtils.hpp
System.SysUtils System.SysUtils


説明

AFileName で指定されたファイルが初めて配布された製品のバージョン情報を取得します。

処理が成功すると、GetProductVersionAMajorAMinor、および ABuild の各パラメータにそれぞれ値を設定し、True を返します。 成功しなければ、GetProductVersionFalse を返します。

プラットフォーム サポート

Windows でのみサポートされています。

関連項目