AxShockwaveFlashObjects again

我的梦境 提交于 2019-12-24 17:32:39

问题


I was cheating from a sample program to integrate with Flash. I able to add a reference to ShockwaveFlashObjects.dll to my windows app, but

What is 1- AXShockwaveFlashObjects. 2- How to add a reference to it, or I have to create it using some tool?

Thanks


回答1:


I'm not a Flash expert but I was researching something similar and I might have some information to help you...

AxShockwaveFlashObjects is a COM library to allow you to integrate Flash content into your COM (or .NET) application. I'm guessing you've already seen the sample app here: www.csharphelp.com/2006/02/using-flash-with-c/

It appears that even if you have added the component correctly in Visual Studio, an error can still occur when running the program. The workaround (given here) is simply to include the AxShockwaveFlashObjects DLL in your application directory. (You can download the DLL via that link too.)

Hope this helps!




回答2:


You can simply add

<COMReference Include="AxShockwaveFlashObjects">
  <Guid>{D27CDB6B-AE6D-11CF-96B8-444553540000}</Guid>
  <VersionMajor>1</VersionMajor>
  <VersionMinor>0</VersionMinor>
  <Lcid>0</Lcid>
  <WrapperTool>aximp</WrapperTool>
  <Isolated>False</Isolated>
</COMReference>

to your project file just after ShockwaveFlashObjects



来源:https://stackoverflow.com/questions/2400686/axshockwaveflashobjects-again

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!