问题描述
我刚开始使用C#(Visual Studio 2010),并且想制作一个简单的视频
捕获程序.
我想使用DirectShow,并且已经安装了"Windows SDK".
在C#程序代码中,我写了使用Microsoft.而不是?????
我想我应该写DirectX或DirectShow或....
但是首先我必须添加引用"到项目.
菜单-项目-添加参考-.NET
然后怎样呢?我需要使用DirectShow的引用的名称是什么?
你需要写
Using Microsoft.Directx Using Microsoft.Directx.Direct3d
是的,在使用之前,您需要添加参考
I have just started with C# (Visual Studio 2010) and I want to make a simple video
capture program.
I want to use DirectShow and I have installed "windows SDK".
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??
you need to write
Using Microsoft.Directx Using Microsoft.Directx.Direct3d
yes before using you need to add reference
you need to add directx[^] package
Have go there[^] for more information
这篇关于C#中的DirectShow的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!