Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

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

Posted on 2014-12-08
2
Medium Priority
?
235 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 2000 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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

As more and more people are shifting to the latest .Net frameworks, the windows presentation framework is gaining importance by the day. Many people are now turning to WPF controls to provide a rich user experience. I have been using WPF controls fo…
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…
The goal of the tutorial is to teach the user how to use functions in C++. The video will cover how to define functions, how to call functions and how to create functions prototypes. Microsoft Visual C++ 2010 Express will be used as a text editor an…
The viewer will be introduced to the technique of using vectors in C++. The video will cover how to define a vector, store values in the vector and retrieve data from the values stored in the vector.

824 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