C#中的DirectShow [英] DirectShow in C#

查看:280
本文介绍了C#中的DirectShow的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我刚开始使用C#(Visual Studio 2010),并且想制作一个简单的视频
捕获程序.
我想使用DirectShow,并且已经安装了"Windows SDK".

在C#程序代码中,我写了使用Microsoft.而不是?????
我想我应该写DirectX或DirectShow或....
但是首先我必须添加引用"到项目.
菜单-项目-添加参考-.NET
然后怎样呢?我需要使用DirectShow的引用的名称是什么?

解决方案

此处有一组完整的教程:点击
点击


Route21写道:

在C#程序代码中,我写了使用Microsoft.????"而不是?????
我想我应该写DirectX或DirectShow或....


你需要写

Using Microsoft.Directx 
Using Microsoft.Directx.Direct3d


Route21写道:

但首先,我必须向该项目添加引用".
菜单-项目-添加参考-.NET


是的,在使用之前,您需要添加参考

Route21写道:

那又是什么?我需要使用DirectShow的引用的名称是什么?


您需要添加 directx [ ^ ]包

[
In the C# program code I write "using Microsoft.??????" instead of the ?????
I think I should write DirectX or DirectShow or ....
But first I have to "add Reference" to the project.
Menu - Project - add Reference - .NET
What then? What´s the name of the reference I need to use DirectShow??

There is a copmplete set of tutorials here: Programming DirectShow applications in C#: A set of tutorials[^] - they should help you through the whole process.


You can see this
Click
Click


Route21 wrote:

In the C# program code I write "using Microsoft.??????" instead of the ?????
I think I should write DirectX or DirectShow or ....


you need to write

Using Microsoft.Directx 
Using Microsoft.Directx.Direct3d


Route21 wrote:

But first I have to "add Reference" to the project.
Menu - Project - add Reference - .NET


yes before using you need to add reference

Route21 wrote:

What then? What´s the name of the reference I need to use DirectShow??


you need to add directx[^] package

Have go there[^] for more information


这篇关于C#中的DirectShow的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆