Solved

Should I use Microsoft ATL or WTL for client Com support?

Posted on 2014-12-08
2
202 Views
Last Modified: 2014-12-08
Hi:

It's been a while since I've worked in the world of COM.
I've got a basic Microsoft unmanaged C++ class with some methods I'd like to expose
through COM. There are no activex/ui associated with it; it's a straightforward simple class.

On the client side, I'm a little confused on to use to manage interfacing with the COM object.
Which template library to use: ATL or WTL?

I assume that they both have their own flavor of smart pointers.

Given a brief description of my needs, what is the correct way to go?
ATL or WTL?


Thanks,
JohnB
0
Comment
Question by:jxbma
2 Comments
 
LVL 86

Accepted Solution

by:
jkr earned 500 total points
ID: 40487351
Well, WTL is built on ATL (see http://en.wikipedia.org/wiki/Windows_Template_Library, yet the latter was more focused on ActiveX  - so the question basically boils down to "how fancy will your client GUI be?". If you e.g. need MDI support, go for WTL.
0
 
LVL 1

Author Closing Comment

by:jxbma
ID: 40488124
So I guess ATL is probably the answer since there's no GUI component to the COM objects
0

Featured Post

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Go is an acronym of golang, is a programming language developed Google in 2007. Go is a new language that is mostly in the C family, with significant input from Pascal/Modula/Oberon family. Hence Go arisen as low-level language with fast compilation…
Basic understanding on "OO- Object Orientation" is needed for designing a logical solution to solve a problem. Basic OOAD is a prerequisite for a coder to ensure that they follow the basic design of OO. This would help developers to understand the b…
The viewer will learn how to pass data into a function in C++. This is one step further in using functions. Instead of only printing text onto the console, the function will be able to perform calculations with argumentents given by the user.
The viewer will learn additional member functions of the vector class. Specifically, the capacity and swap member functions will be introduced.

816 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now