|
Quick links:
F-IN-BOX Delphi Edition Help >> TFlashPlayerControl / TTransparentFlashPlayerControl >> Globals GetInstalledFlashVersion
Syntax
[ Delphi ]
function GetInstalledFlashVersion: DWORD; [ Builder C++ ]
int __fastcall GetInstalledFlashVersion(void); Description
Returns an installed version of the Flash. Here's an example of how to use this function: [ Delphi ]
var
dwInstalledFlashVersion: DWORD;
begin
dwInstalledFlashVersion := FlashPlayerControl.GetInstalledFlashVersion;
if dwInstalledFlashVersion <> 0 then
ShowMessage
(
Format
(
'Installed version: %d.%d.%d.%d',
[
HIBYTE(HIWORD(dwInstalledFlashVersion)),
LOBYTE(HIWORD(dwInstalledFlashVersion)),
HIBYTE(LOWORD(dwInstalledFlashVersion)),
LOBYTE(LOWORD(dwInstalledFlashVersion)),
]
)
)
else
ShowMessage('Flash not installed');
end;
[ Builder C++ ]
int InstalledFlashVersion = Flashplayercontrol::GetInstalledFlashVersion(); Copyright © 2004 - 2008 Softanics. All rights reserved. Delphi is a trademark of Borland Software Corporation. Macromedia and Shockwave Flash are trademarks of Macromedia, Inc. |