Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Windows Forms / WinForm General / August 2006

Tip: Looking for answers? Try searching our database.

Using .NET dll as COM component in MFC MSI Application

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Janiv Ratson - 14 Aug 2006 10:47 GMT
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.
Reg Edit - 14 Aug 2006 11:03 GMT
The .NET way to do this is to create a COM Callable Wrapper:
http://msdn2.microsoft.com/en-us/library/f07c8z1c.aspx
Janiv Ratson - 14 Aug 2006 13:52 GMT
Do u have more specific solution.
I canno tunderstand it very well.
Thanks again,
Janiv Ratson.

> The .NET way to do this is to create a COM Callable Wrapper:
> http://msdn2.microsoft.com/en-us/library/f07c8z1c.aspx
chegney@gmail.com - 29 Aug 2006 16:17 GMT
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.

> Do u have more specific solution.
> I canno tunderstand it very well.
[quoted text clipped - 3 lines]
> > The .NET way to do this is to create a COM Callable Wrapper:
> > http://msdn2.microsoft.com/en-us/library/f07c8z1c.aspx

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.