Groups | Blog | Home
all groups > dotnet framework > may 2006 >

dotnet framework : cominterop.dll


gs
5/20/2006 10:16:45 AM
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.

Dmytro Lapshyn [MVP]
5/22/2006 12:43:25 PM
Hi,

[quoted text, click to view]

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).

[quoted text, click to view]

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

[quoted text, click to view]
gs
5/22/2006 2:51:09 PM
thx. much appreciated.

[quoted text, click to view]

AddThis Social Bookmark Button