cominterop.dll

G

gs

Do I really need cominterop.dll for making use of .net 2 assembly through
com interface?

I am using dotnet sdk that comes with visual studio express 2005. did not
install sdk 1x

I am still having problem using the assembly from native application through
com interface when there is string array involved. In the vb project I did
enable com interop. and use the calls library template.
 
D

Dmytro Lapshyn [MVP]

Hi,
Do I really need cominterop.dll for making use of .net 2 assembly through
com interface?

No, interop DLLs are needed to consume COM objects from .NET code. In your
scenario, you should register your .NET assembly for COM interop with the
regasm.exe command-line tool (you can use the corresponding IDE project
setting as an alternative, but the IDE does not register the assembly's code
base path properly, at least in VS 2003).
I am still having problem using the assembly from native application
through com interface when there is string array involved. In the vb
project I did enable com interop. and use the calls library template.

Please repost this in more detail to
microsoft.public.dotnet.framework.interop
 
G

gs

thx. much appreciated.

Dmytro Lapshyn said:
Hi,


No, interop DLLs are needed to consume COM objects from .NET code. In your
scenario, you should register your .NET assembly for COM interop with the
regasm.exe command-line tool (you can use the corresponding IDE project
setting as an alternative, but the IDE does not register the assembly's
code base path properly, at least in VS 2003).


Please repost this in more detail to
microsoft.public.dotnet.framework.interop
 

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