Copyright © 2008-2011 MultiMedia Soft

Files to be included with your application

Previous pageReturn to chapter overviewNext page

Files that you need to redistribute with your application depend upon the platform target:

 

If compiling for "Any CPU"

  - the component's assembly AudioSoundEditor.dll

  - the x86 version of the multimedia engine AdjMmsEng.dll

  - the x64 version of the multimedia engine AdjMmsEng64.dll

 

If compiling specifically for x86

  - the component's assembly AudioSoundEditor.dll

  - the x86 version of the multimedia engine AdjMmsEng.dll

 

If compiling specifically for x64

  - the component's assembly AudioSoundEditor.dll

  - the x64 version of the multimedia engine AdjMmsEng64.dll

 

You can find redistributable files mentioned above inside the folder in which you installed Audio Sound Editor for .NET (default "C:\Program Files\Audio Sound Editor for .NET\Redist").

 

In order to avoid the "DLL Hell" problem, it's strongly recommended that you install these files into the same folder in which you will install the container application on the target system and not inside the Windows\System32 folder.

 

DirectX version 9.0c or higher should be available as well. DirectX redistributable modules can be obtained from the Microsoft web site.

 

Special notes

 

If you intend to use the control to encode Windows Media Audio files, the Microsoft Windows Media Format modules must already be installed on the target PC: the Windows Media Format modules can be installed using the redistribution setup package (wmfdist.exe) provided by Microsoft. Details about the integration of these modules inside your own setup package can be found on the following link of the official Microsoft web site (note that in the future this link could change due to the Microsoft site maintenance).
If you intend to use the control to encode MP3 files, the Lame encoder (Lame.exe) must be available on the target system.
If you intend to use the control to encode OGG Vorbis files, the OggEnc encoder (OggEnc.exe) must be available on the target system.
If you intend to use the control to encode AAC and MP4 files, the Faac encoder (Faac.exe) must be available on the target system.

 

 

How to create a "ClickOnce" setup containing our component using Visual Studio .NET

 

Inside the "Solution Explorer" open "References"
Locate and select the reference to AudioSoundEditor
Inside the "Properties" window locate the "Copy Local" property and set it to "True"

 

Inside the "Solution Explorer" right-click the project name
From the context menu select "Add\Existing Item..."
Inside the "Objects of type" combobox select "Executable files"
Locate the directory where AdjMmsEng.dll and AdjMmsEng64.dll are installed (by default should be under "C:\Program Files\Audio Sound Editor for .NET\Redist")
Select AdjMmsEng.dll and AdjMmsEng64.dll and press the "Add" button
for both of them change the "Copy to Output Directory" property to "Copy always"
Rebuild the ClickOnce package