[AxInterop] Build Flash Interop Library

Why should i build an Interop Library?

  • You Want to embed Flash File in your .NET Project
  • You have to Host Your ActiveX Control Using the WindowsFormHostControl
What Do You need:
  1. Active X Conversion Utility (AxImp.exe) Found here C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Bin
  2. Shockwave Has to be installed on your machine get.adobe.com/shockwave/
  3. Flash10.ocx (Some times you find flash10a.ocx or similar) Found here  C:\Windows\System32\Macromed\Flash
After Conversion What You Will Get:
A Managed assembly named AxInterop.ShockwaveFlashObjects.dll.
-This is the dll you will reference in your project and work accordingly
Ok! How To do it!
Simple run the AxImp.exe from command line followed by the location of flash10.ocx
Example:
C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Bin>AxImp.exe
C:\Windows\System32\Macromed\Flash\Flash10a.ocx
Screen:

One thought on “[AxInterop] Build Flash Interop Library

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s