FPC_LoadRegisteredOCX
Syntax
HFPC WINAPI FPC_LoadRegisteredOCX();
Description
The FPC_LoadRegisteredOCX
function loads the Flash ActiveX control (swflash.ocx or flash.ocx) that is already registered in the system.
After loading, you can obtain the class atom of the registered control by calling FPC_GetClassAtom. This atom is required for creating F-IN-BOX windows.
Windows can be created using the standard WinAPI functions CreateWindow
/ CreateWindowEx
, or the helper function FPC_CreateWindow.
⚠️Note Since Flash Player has reached End of Life (EOL), most modern systems do not have Flash ActiveX installed. If no registered control is found, FPC_LoadRegisteredOCX
will fail. In such cases, consider using FPC_LoadOCXCodeFromMemory to bundle Flash ActiveX with your application.
See also: Getting Started.