all groups > dotnet distributed apps > october 2007 >
You're in the

dotnet distributed apps

group:

Using COM DLL in C#



Using COM DLL in C# Harish Kumar Dixit
10/8/2007 11:24:09 AM
dotnet distributed apps: Hello friends,

I am writing a c# application which is using a COM DLL. I have to add
the refrence of COM DLL. But i found 2 DLL in my project directory of
COM DLL. One is inside the release folder and another inside the main
project directory which name is prefixed by the company name , dot,
project name. Which reference i have to add in my c# application. And
i also want to give this c# application to the end user on fresh
machine. what settings i have to do in c# application for this and
which COM DLL i have to give with the c# exe.


Thanks in advance

##harish dixit
RE: Using COM DLL in C# JIGNESH
10/30/2007 2:18:01 AM
Hi
When you add a reference to a COM DLL an Interop assembly is created. Both
files should be present in the bin folder of the application.

Also COM DLL should be registered on client machine using REGSVR32.

Instead of doing all this manually, you could use Setup and Deployment
project template to create a setup.exe

Regards
JIGNESH.


[quoted text, click to view]
AddThis Social Bookmark Button