Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Visual Assist
 Feature Requests
 Warn when a COM interface is missing from COM map

You must be registered to post a reply.
Click here to register.

Format: BoldItalicizeUnderlineStrikethrough Align leftCenterAlign right Insert horizontal ruleUpload and insert imageInsert hyperlinkInsert email addressInsert codeInsert quoted textInsert listInsert Emoji

Forum code is on.
Html is off.

Check to subscribe to this topic.

T O P I C    R E V I E W
cpp_john Posted - Oct 09 2020 : 1:46:35 PM
Consider the case of implementing a COM object in C++ using ATL.

This ATL C++ class implements some COM interfaces, that are listed as base classes.

In addition, these COM interfaces should also be added as entries in the COM map, using the

If the entry in the COM map is missing, you can get subtle bugs, as described in this blog post:


So, it's good to have Visual Assist X emits at least a warning in such cases.
1   L A T E S T    R E P L I E S    (Newest First)
feline Posted - Oct 12 2020 : 06:36:36 AM
Are you talking about having VA check existing code, or is this when you are writing / creating new code?

The current Code Inspection feature is based on Clang, and is checking C++ features, so is rather unlikely to pick up ATL specific points.

© 2021 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000