Home arrow C++ arrow Your First COM Client In Visual C++
C++

Your First COM Client In Visual C++


Interested in making your own COM client in C++ to call a DLL written in Visual Basic? In this article Neville provides us with an excellent example using credit card validation.

Author Info:
By: Neville Mehta
Rating: 4 stars4 stars4 stars4 stars4 stars / 24
August 04, 2002
TABLE OF CONTENTS:
  1. · Your First COM Client In Visual C++
  2. · Our Project
  3. · Steps 3 to 7
  4. · Conclusion

print this article
SEARCH DEVARTICLES

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.
blog comments powered by Disqus
C++ ARTICLES

- Intel Threading Building Blocks
- Threading Building Blocks with C++
- Video Memory Programming in Text Mode
- More Tricks to Gain Speed in Programming Con...
- Easy and Efficient Programming for Contests
- Preparing For Programming Contests
- Programming Contests: Why Bother?
- Polymorphism in C++
- Overview of Virtual Functions
- Inheritance in C++
- Extending the Basic Streams in C++
- Using Stringstreams in C++
- Custom Stream Manipulation in C++
- General Stream Manipulation in C++
- Serialize Your Class into Streams in C++

Watch our Tech Videos 
Dev Articles Forums 
 RSS  Articles
 RSS  Forums
 RSS  All Feeds
Write For Us 
Weekly Newsletter
 
Developer Updates  
Free Website Content 
Contact Us 
Site Map 
Privacy Policy 
Support 

Developer Shed Affiliates

 




© 2003-2017 by Developer Shed. All rights reserved. DS Cluster - Follow our Sitemap
Popular Web Development Topics
All Web Development Tutorials