Visual C++ – Creating an ATL COM Component (Part – 1)
Active Template Library (ATL) is a light weight library used to develop COM based components using Visual C++. Through ATL we can quickly develop COM...
COM – Creating a COM Component using C++ – IClassFactory implementation
CoCreateInstance is depends on IClassFactory to create class instances. We have looked into IClassFactory‘s methods and we have implemented these methods in our previous article. Lets include...
COM – Creating a COM Component using C++ – IClassFactory
In our previous article, we have identified that CoCreateFunction is requesting an instance of IClassFactory. Why CoCreateInstance is requesting an instance of IClassFactory? One of the goal of...
COM – Creating a COM Component using C++ – Inside CoCreateInstance
As we discussed in our previous articles, COM’s CoCreateInstance function is used to create instances for COM classes. When the client program calls CoCreateInstance to create...
COM – Creating a COM Component using C++ – .def file
In previous article, we have created a test application to test our COM component. When we rant our test application, it was displaying “Class not registered” error...
COM – Creating a COM Component using C++ – CoCreateInstance
As of now we have created our COM component. Now it is the time to test our component. In this article we are going to...
COM – Creating a COM Component using C++ – Registering a COM component
In our previous article we have packaged a component into a DLL. Now we will look how to register the component. Registering a COM component...
COM – Creating a COM Component using C++ – DLL component
In series of articles on creating a COM Component using C++, in previous article, we have implemented a component using C++. The component implemented IUnknown standard...
COM – Creating a COM Component using C++ – IUnknown interface definition
This is the series of articles explaining creating a COM component using C++. In our previous article, we have defined an interface IHello and compiled...
COM – Creating a COM Component using C++ – IUnknown interface
COM (Component Object Model) is a platform-independent, distributed and object-oriented technology developed by Microsoft to create re-usable software components and enables software components to communicate....