AxShockwaveFlashObjects again

2019-08-14 08:13发布

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

2条回答
The star\"
2楼-- · 2019-08-14 08:48

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

查看更多
Emotional °昔
3楼-- · 2019-08-14 08:52

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!

查看更多
登录 后发表回答