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

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
LVL 1
jxbmaSoftware ConsultantAsked:
Who is Participating?

[Webinar] Streamline your web hosting managementRegister Today

x
 
jkrConnect With a Mentor Commented:
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
 
jxbmaSoftware ConsultantAuthor Commented:
So I guess ATL is probably the answer since there's no GUI component to the COM objects
0
All Courses

From novice to tech pro — start learning today.