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