|
Files to be included with your application |
![]() ![]()
|
Files that you need to redistribute with your application depend upon the platform target:
| • | If compiling for "Any CPU" |
- the component's assembly AudioDjStudio.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 AudioDjStudio.dll
- the x86 version of the multimedia engine AdjMmsEng.dll
| • | If compiling specifically for x64 |
- the component's assembly AudioDjStudio.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 DJ Studio for .NET (default "C:\Program Files\Audio DJ Studio 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 with Windows Media Audio files (WMA, ASF, WMV, etc.), 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 component as a source for SHOUTCast or IceCast servers, command line encoders (Lame.exe for MP3 format and/or OggEnc.exe for OGG Vorbis format) 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 AudioDjStudio |
| • | 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 DJ Studio 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 |