"Bilo" <ju********@yahoo.com> wrote in message
news:%2******************@tk2msftngp13.phx.gbl...
When I add a reference in Visual Studio to quartz.dll it creates a new
file named "Interop.QuartzTypeLib.dll"
into to bin folder. My app only works when this file is in the application
folder.
Is is legal to ship this file with my app ? Does Microsoft allow it?
If not how can I use directShow with c#?
Hi Bilo,
Yes, you can ship the Interop.QuartzTypeLib.dll file with your app.
However, you should review the license terms of the quartz.dll file to see
if you are allowed to ship that. Interop.QuartzTypeLib.dll is called a
Runtime Callable Wrapper (RCW), which is a proxy that VS.NET creates
automatically when you reference a COM object. It marshalls calls from .NET
to COM and gives you a managed interface that is generally easier to use in
your managed code.
Here's an article that explains how to do the same thing that VS.NET does,
but only with command-line tools:
http://msdn.microsoft.com/library/de...amewktools.asp
Here's a link to the MS DirectX Dev Center. There is a managed DirectX 9.x
API that you can use, rather than creating your own interop interfaces.
http://msdn.microsoft.com/library/de...entid=28000410
Joe
--
http://www.csharp-station.com