Adding assembly reference to QuartzTypeLib

I am a new programmer using Visual Studio 2008. How can I add an reference to QuartzTypeLib. I have already checked the add reference folder and do not see a library for Quartz in the .net or com reference library. When trying to compile code I am receiving an error that states missing assembly reference.

using System; using System.Collections.Generic; using System.Linq; using System.Text; using QuartzTypeLib; namespace DirectShowCsharp { class Program { static void Main(string[] args) { } } }


In add reference select Browse on left and then select browse in the right down corner and browse to the location of your library .


There is a complete solution that uses <strong>QuartzTypeLib</strong> to play videos.

<img src="https://i.stack.imgur.com/O4QMj.jpg" alt="Player">

DirectShow MediaPlayer in C#


AFAIK, DirectShow is considered as obsolete by Microsoft, probably this is the reason for not including this assembly into the latest Visual Studio.

I don't know how to automate the 1st action, but it is needed only once before the first build.

<ol> <li>

Run tlbimp tool (in your case path will be different):

"C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Bin\TlbImp.exe" %windir%\system32\quartz.dll /out:<strong>QuartzTypeLib.dll</strong>

</li> <li>

Add generated <strong>QuartzTypeLib.dll</strong> as a COM-reference to your project (click right mouse button on the project name in "Solution Explorer", then select "Add" menu item and then "Reference")

</li> <li>

In your Project, expand the "References", find the <strong>QuartzTypeLib</strong> reference. Right click it and select properties, and change "Embed Interop Types" to false. (Otherwise you won't be able to use the <strong>FilgraphManagerClass</strong> in your project (and probably a couple of other ones)).

</li> </ol>


  • Use MongoDB array as stack
  • How to read a certificate from a USB token in C#
  • How ignore any files using HHVM proxygen rewrite rules?
  • Node can't scrape certain pages
  • How to browse android SDK sources in Android studio 2.0
  • input type=“file” accept=“image/*” doesn't work in phone gap?
  • IIS 7.5 404 Error for .PDF files
  • Programatically open file in visual studio
  • how do i write assembly code from c#?
  • Memory error in python- how to use more memory
  • Differences in dis-assembled C code of GCC and Borland?
  • How to Cache Real-time Data?
  • Listbox within Listbox and scrolling trouble in Windows Phone 7 Silverlight
  • Android full screen on only one activity?
  • Yii2: Config params vs. const/define
  • $wpdb not working in file of WordPress plugin
  • why overloaded new operator is calling constructor even I am using malloc inside overloading functio
  • Disable Enter in editText android
  • how to adjust image in a panel in Java swing?
  • Algorithm for a smudge tool?
  • Why value captured by reference in lambda is broken? [duplicate]
  • Spring Data JPA custom method causing PropertyReferenceException
  • Possible to stop flickering java tooltip in heavyweight mode?
  • output of program is not same as passed argument
  • How to check if every primary key value is being referenced as foreign key in another table
  • ORA-29908: missing primary invocation for ancillary operator
  • How to get next/previous record number?
  • Akka Routing: Reply's send to router ends up as dead letters
  • AT Commands to Send SMS not working in Windows 8.1
  • Windows forms listbox.selecteditem displaying “System.Data.DataRowView” instead of actual value
  • python regex in pyparsing
  • How do you join a server to an Active Directory (domain)?
  • Java static initializers and reflection
  • How does Linux kernel interrupt the application?
  • apache spark aggregate function using min value
  • unknown Exception android
  • Checking variable from a different class in C#
  • Sorting a 2D array using the second column C++
  • Observable and ngFor in Angular 2
  • Unable to use reactive element in my shiny app