Solved

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

Posted on 2014-12-08
2
192 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

Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

Join & Write a Comment

After several hours of googling I could not gather any information on this topic. There are several ways of controlling the USB port connected to any storage device. The best example of that is by changing the registry value of "HKEY_LOCAL_MACHINE\S…
Entering time in Microsoft Access can be difficult. An input mask often bothers users more than helping them and won't catch all typing errors. This article shows how to create a textbox for 24-hour time input with full validation politely catching …
The viewer will learn additional member functions of the vector class. Specifically, the capacity and swap member functions will be introduced.
This is Part 3 in a 3-part series on Experts Exchange to discuss error handling in VBA code written for Excel. Part 1 of this series discussed basic error handling code using VBA. http://www.experts-exchange.com/videos/1478/Excel-Error-Handlin…

759 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

19 Experts available now in Live!

Get 1:1 Help Now