Programming in C#
This topic describes what you should know when programming in Microsoft C#.
Note In each C# project you must add references to the Windows Media Encoder SDK type libraries.
To add Windows Media Encoder SDK references to a C# project
- On the Project menu, click Add Reference, and then click the COM tab.
- Select the references you need for your application, as described in the following table, and then click the Select button.
Reference Description Windows Media Encoder Required for all Windows Media Encoder applications. Windows Media Encoder Agent Required for applications that enable remote administration. Windows Media Encoder Agent Locator Required for applications that enable remote administration. Windows Media Encoder Device Control Required for applications that control an external digital device. Windows Media Encoder Preview Control Required for applications that display a window to preview input sources. Windows Media Encoder Time Compression Plug-in Required for applications that use the time compression plug-in.
To use the MSPropShell ActiveX control
- On the View menu, click Toolbox.
- In the Toolbox, right-click in the Components section, and then click Customize Toolbox.
- On the COM Components tab, click MS PropShell Ctrl Class.
See Also
![]() |
本文档介绍了在Microsoft C#编程中如何正确地添加Windows Media Encoder SDK引用,并详细列举了不同类型的应用所需的特定引用组件。此外,还提供了如何在项目中使用MSPropShell ActiveX控件的具体步骤。

1420

被折叠的 条评论
为什么被折叠?



