About Interop

  • Thread starter Thread starter Bilo
  • Start date Start date
B

Bilo

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#?
 
Bilo said:
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/default.asp?url=/library/en-us/dndotnet/html/useframewktools.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/default.asp?url=/nhp/default.asp?contentid=28000410

Joe
 
Thx , that was really quick.
quartz.dll as part of directx makes no problem. most computers have it
installed.
Thx again
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top