const CLSID CLSID_ShockwaveFlash = __uuidof(ShockwaveFlash); const IID IID_IShockwaveFlash = __uuidof(IShockwaveFlash); HRESULT hr = ::CoCreateInstance(CLSID_ShockwaveFlash, NULL, CLSCTX_INPROC_SERVER, IID_IShockwaveFlash, (void **)&m_pFlash); if ( FAILED(hr) ) { wxLogSysError(hr, "Failed to create Flash ActiveX control"); return; } CMyActiveXContainer *pActive = new CMyActiveXContainer(this, IID_IShockwaveFlash, m_pFlash); hr = m_pFlash->LoadMovie(0, m_strSwfFile.wc_str()); m_pFlash->PutWMode(L"transparent");
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)