Solved

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

Posted on 2014-12-08
2
214 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Revamp Your Training Process

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Why is "packages element is not declared"? 2 517
I could not set window to top 4 63
FMX TEdit KeyUp handler detecting  "enter" key 4 63
print bytes of an integer 6 48
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…
With most software applications trying to cater to multiple user needs nowadays, the focus is to make them as configurable as possible. For e.g., when creating Silverlight applications which will connect to WCF services, the service end point usuall…
The viewer will be introduced to the member functions push_back and pop_back of the vector class. The video will teach the difference between the two as well as how to use each one along with its functionality.
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…

738 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