Link to home
Start Free TrialLog in
Avatar of J_J
J_J

asked on

error of DShowNET when i compile C# project

hi, i want to know why there is a list of error when i try to compile a c# project?

CatchItV_scr\DeviceSelector.cs(8): The type or namespace name 'DShowNET' could not be found (are you missing a using directive or an assembly reference?)
CatchItV_scr\DeviceSelector.cs(9): The type or namespace name 'DShowNET' could not be found (are you missing a using directive or an assembly reference?)
CatchItV_scr\DeviceSelector.cs(152): The type or namespace name 'DsDevice' could not be found (are you missing a using directive or an assembly reference?)
CatchItV_scr\MainForm.cs(20): The type or namespace name 'DShowNET' could not be found (are you missing a using directive or an assembly reference?)
CatchItV_scr\MainForm.cs(21): The type or namespace name 'DShowNET' could not be found (are you missing a using directive or an assembly reference?)
CatchItV_scr\MainForm.cs(28): The type or namespace name 'ISampleGrabberCB' could not be found (are you missing a using directive or an assembly reference?)
CatchItV_scr\MainForm.cs(965): The type or namespace name 'IMediaSample' could not be found (are you missing a using directive or an assembly reference?)
CatchItV_scr\MainForm.cs(996): The type or namespace name 'IBaseFilter' could not be found (are you missing a using directive or an assembly reference?)
CatchItV_scr\MainForm.cs(999): The type or namespace name 'IGraphBuilder' could not be found (are you missing a using directive or an assembly reference?)
CatchItV_scr\MainForm.cs(1002): The type or namespace name 'ICaptureGraphBuilder2' could not be found (are you missing a using directive or an assembly reference?)
CatchItV_scr\MainForm.cs(1003): The type or namespace name 'ISampleGrabber' could not be found (are you missing a using directive or an assembly reference?)
CatchItV_scr\MainForm.cs(1006): The type or namespace name 'IMediaControl' could not be found (are you missing a using directive or an assembly reference?)
CatchItV_scr\MainForm.cs(1009): The type or namespace name 'IMediaEventEx' could not be found (are you missing a using directive or an assembly reference?)
CatchItV_scr\MainForm.cs(1012): The type or namespace name 'IVideoWindow' could not be found (are you missing a using directive or an assembly reference?)
CatchItV_scr\MainForm.cs(1015): The type or namespace name 'IBaseFilter' could not be found (are you missing a using directive or an assembly reference?)
CatchItV_scr\MainForm.cs(1018): The type or namespace name 'VideoInfoHeader' could not be found (are you missing a using directive or an assembly reference?)
The referenced component 'DShowNET' could not be found.

can anyone help?
Avatar of Chester_M_Ragel
Chester_M_Ragel

You are missing one or many assemblies which are refered in your project. I think you know how to refer an assembly to a project in VS.NET. Refer 'DShowNET' and try to build your project.
Avatar of J_J

ASKER

but what components or references is for DShowNET,DsDevice, IMedia etc??
One component may have many namespaces so you may get that error. Sometimes all may in different assemblies. Anyway first refer 'DShowNET'. Then you can find out what refers this. If you need to refer others, you can follow the same way to refer all needed.
ASKER CERTIFIED SOLUTION
Avatar of Thalox
Thalox

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of J_J

ASKER

thanks!!