I have this application that start like this:
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;
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:\
Once im running it im getting exception error. So i copied to D:\ also the file DirectShowLib-2005.dll and now its working.
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.