ATL 獲取flash信息

 

// This goes past the ATL includes
#import "C:/WINDOWS/system32/Macromed/Flash/Flash9e.ocx" named_guids, rename_namespace("Flash")

Flash::IShockwaveFlash * flash = NULL; 
hr = spDispatch->QueryInterface(__uuidof(Flash::IShockwaveFlash), (void **) &flash);

flash->GetVariable("VariableName");
flash->SetVariable("VariableName", "String Value");
相關文章
相關標籤/搜索