|
Quick links:
F-IN-BOX Delphi Edition Help >> TFlashPlayerControl / TTransparentFlashPlayerControl >> Globals GetUsingFlashVersion
Syntax
[ Delphi ]
function GetUsingFlashVersion: DWORD; [ Builder C++ ]
int __fastcall GetUsingFlashVersion(void); Description
Returns an using version of the Flash. Note: GetUsingFlashVersion is not the same as installed version because you can load any version of flash ocx: Embedding swflash.ocx/flash.ocx code into application. Here's an example of how to use this function: [ Delphi ]
var
dwUsingFlashVersion: DWORD;
begin
dwUsingFlashVersion := FlashPlayerControl.GetUsingFlashVersion;
ShowMessage
(
Format
(
'Using version: %d.%d.%d.%d',
[
HIBYTE(HIWORD(dwUsingFlashVersion)),
LOBYTE(HIWORD(dwUsingFlashVersion)),
HIBYTE(LOWORD(dwUsingFlashVersion)),
LOBYTE(LOWORD(dwUsingFlashVersion)),
]
)
);
end;
[ Builder C++ ]
int UsingFlashVersion = Flashplayercontrol::GetUsingFlashVersion(); Copyright © 2004 - 2008 Softanics. All rights reserved. Delphi is a trademark of Borland Software Corporation. Macromedia and Shockwave Flash are trademarks of Macromedia, Inc. |