Click here to Skip to main content
12,078,489 members (41,210 online)
Rate this:
 
Please Sign up or sign in to vote.
See more: C++ DLL
Hello,
Kindly give me a solution to make my dll as COM. I am new to this and dont know the steps to implement the same.I am trying because i came to know , only if we make our COM dll ,we can make the function in the dll callable to the outside world and register the dll. Please provide one solution.
Posted 8-Nov-12 19:12pm
Comments
   
COM can be implemented is some different ways in a DLL which can be registered in the system and used through COM mechanism of instantiation. One note: it quickly becomes obsolete. Window 8 revived COM, which I think is a shame. The main purpose of COM was to provide a temporary layer to bind non-OOP OS with a number of OOP languages and technologies. Reviving it means some kind of failure in object orientation in system programming.
--SA

1 solution

Rate this: bad
 
good
Please Sign up or sign in to vote.

Solution 1

Please see my comment to the question. As there is no one single notion of COM component (this is an umbrella term), you first need to learn what it could be. Please see:
http://en.wikipedia.org/wiki/Component_Object_Model[^],
http://en.wikipedia.org/wiki/ActiveX[^].

For further detail, start here:
http://www.microsoft.com/com/default.mspx[^],
http://msdn.microsoft.com/library/ms680573%28VS.85%29.aspx[^],
http://msdn.microsoft.com/en-us/library/aa751972%28VS.85%29.aspx[^].

—SA
  Permalink  

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month


Advertise | Privacy | Mobile
Web04 | 2.8.160212.1 | Last Updated 9 Nov 2012
Copyright © CodeProject, 1999-2016
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100