Using .NET dll as COM component in MFC MSI Application

J

Janiv Ratson

Hello,
I have written a class library (dll) using csharp and VS2005.
Now, I want to use this class as COM in my MFC application.
I'm looking for a step-by-step information on how to do it, consiting the
two parts:
1. Exporting a class library as COM component.
2. Using the COM component in my MFC MDI application.

Thanks in advance.
Janiv Ratson.
 
J

Janiv Ratson

Do u have more specific solution.
I canno tunderstand it very well.
Thanks again,
Janiv Ratson.
 
C

chegney

I too, am looking for a really straight forward way to do this. I have
visited several sights that talked about the process from setting
configuration options, using REGASM with the TLB option, adding a
strong name attribute to the AssemblyInfo cs or vb file, etc... None of
the seemed to work for me. When I try to use the library in VBScript,
it doesn't work. Keep getting complaints about file not found and such.
There doesn't seem to be any clear cut, step by step instructions for
this anywhere.
 

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