C#中的DirectShow [英] DirectShow in C#
问题描述
我刚开始使用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屋!