Azure/C++/C#/Java/Asp.net/JavaScript/Html - MFC/COM/ActiveX/eclipse/Web

dlbrant

working soft

博客园 首页 新随笔 管理

 

// 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");
posted on 2013-08-15 12:01  dlbrant  阅读(305)  评论(0编辑  收藏  举报

Software