Why the dll file in my application is not in the program forever ? I needed to copy it to d:\ to run my application frmo there
<p>I have this application that start like this:</p>

<pre><code>using System;
using System.Diagnostics;
using System.Drawing;
using System.Drawing.Imaging;
using System.IO;
using System.Runtime.InteropServices;
using DirectShowLib;
using System.Collections.Generic;
using Extracting_Frames;
using System.Windows.Forms;
</code></pre>

<p>In the application it self i did add a reference browsed and selected DirectShowLib-2005.dll
Everything went ok untill i copied from my application directory debug the application exe file wich is in my case: LE.exe copied it to D:\</p>

<p>Once im running it im getting exception error.
So i copied to D:\ also the file DirectShowLib-2005.dll and now its working.</p>

<p>The question is how do i make that the file DirectShowLib-2005.dll will be in the application forever without needing to copy it to any place on my hard disk when im trying to running my program from there ? If its d:\ E:\ or any other location.</p>
