Communication between COM and .NET

T

Tony Johansson

Hi!

I have used an example on the Code project to call .NET code from COM and
here it worked fine without creating a shared assembly

It we have the oppsite situation calling COM from .NET is there any
requirement that you must have shared assembly when you call COM from .NET.
I know all about how to create a type library by using either VS or tlbimp


//Tony
 
P

Patrice

Hello,
It we have the oppsite situation calling COM from .NET is there any
requirement that you must have shared assembly when you call COM from
.NET.

This is possible but not a requirement. "Deploying an Interop Application"
at http://msdn.microsoft.com/en-us/library/tc0204w0(v=VS.100).aspx could
help (note that in .NET 4 you can embed only the types your application
actually uses, not tried this myself yet).

Or if you have a particular issue, explain what you tried and how it
fails...
 

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

Top