Your First COM Client In Visual C++ (Page 1 of 4 )
Let me explain what we are going to learn in this article. As you know, COM servers can be created in various languages and can also be used in various languages. Today we will learn how to use COM servers in VC++. Yes, it means that we will create a COM client in VC++. Also please note that I am not going to instruct you on how to create a COM component. You must already have a COM server created in the form of a Dynamic Link Library (dll) or and Executable (exe). This doesn't mean I am not going to discuss the COM server; I will show you how to build the client but I will focus more on creating the client, as that's what this article is all about.
This article was written for the already experienced programmers who are used to creating and using COM components in languages other than VC++. If you know what I am talking about maybe you could create a simple Dynamic Link Library (dll) in VB (which is so easy to do) and use it in VC++ following the instructions given in this article.
You should have worked with VB and VC++ before, so that you can understand the basic code included in this article. An intermediate level of expertise for each will suffice.