By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
446,201 Members | 922 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 446,201 IT Pros & Developers. It's quick & easy.

About Interop

P: n/a
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#?
Nov 16 '05 #1
Share this Question
Share on Google+
2 Replies


P: n/a
"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
Nov 16 '05 #2

P: n/a
Thx , that was really quick.
quartz.dll as part of directx makes no problem. most computers have it
installed.
Thx again

"Joe Mayo [C# MVP]" <jm***@nospamAtCSharpDashStation.com> schrieb im
Newsbeitrag news:Ox**************@TK2MSFTNGP09.phx.gbl...
"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

Nov 16 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.