Click here to Skip to main content
15,896,606 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
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
Comments
Sergey Alexandrovich Kryukov 9-Nov-12 0:25am    
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

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
 
Share this answer
 

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



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900