F-IN-BOX DLL Edition Help >> Extensions >> Functions

GetUsingFlashVersionEx [deprecated]

Syntax

[ C++ ]
DWORD WINAPI GetUsingFlashVersionEx(SFPCVersion* pVersion);

typedef struct SFPCVersion
{
	WORD v[4];
} SFPCVersion;

Description

Returns an using version of the Flash.

Here's an example of how to use this function:

[ C++ ]
// Get flash version        
SFPCVersion FlashVersion;
GetUsingFlashVersionEx(&FlashVersion);

// Compare major version
if (FlashVersion.v[3] < 8)
{
    TCHAR szMsg[1024];
    wsprintf(szMsg, 
            _T("External API is supported only by Flash 8 and higher\nCurrent version: %d.%d.%d.%d"), 
            FlashVersion.v[3], 
            FlashVersion.v[2], 
            FlashVersion.v[1], 
            FlashVersion.v[0]);

    AfxMessageBox(szMsg);

    return FALSE;
}


Copyright © Softanics. All rights reserved.
F-IN-BOX is a trademark of Softanics.
Macromedia and Shockwave Flash are trademarks of Adobe