Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

COM interop 1

Status
Not open for further replies.

ananthrr

Technical User
Feb 28, 2006
17
GB
Hello guys,

Can someone please help me out with, using COM interop in C#. Actually i am working on an application that uses BITS feature in windows. So can someone provide me with link, where i can learn more about COM interop and how to use them to access the BITS features. Thanks in advance.

Regards,
Ananth.
 
Just add a reference to the COM DLL on your project by going through Project/Add Reference, COM tab. After adding, you'll find on the Solutio Explorer that an *.Interop.Dll is created.

The interop DLL is a .NET assembly, and is used much like how you use the System.dll assembly of .NET, with all the .NET classes and enums. It's basically a .NET wrapper that does the marshalling of data as you consume the COM objects.

So, what you will really need is a good documentation on BITS. But if you still need an in-depth material about interops, just google "COM interop .net".
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top