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 COM_INTERFACE_ENTRY macro.
If the entry in the COM map is missing, you can get subtle bugs, as described in this blog post:
https://blogs.msmvps.com/gdicanio/2020/10/09/the-case-of-the-context-menu-shell-extension-that-doesnt-get-invoked-by-explorer/
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. |
|
|