Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
User name:
Save Password
Forgot your password?

 All Forums
 Visual Assist
 Feature Requests
 Warn when a COM interface is missing from COM map
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

New Member

4 Posts

Posted - Oct 09 2020 :  1:46:35 PM  Show Profile  Reply with Quote
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.

Whole Tomato Software

United Kingdom
17436 Posts

Posted - Oct 12 2020 :  06:36:36 AM  Show Profile  Reply with Quote
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.

zen is the art of being at one with the two'ness
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
© 2021 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000