This macro protects your object from being deleted if (during FinalConstruct) the internal aggregated object increments the reference count then decrements the count to 0.
At a Glance
Header file: | Atlcom.h |
Windows CE versions: | 2.0 and later |
Complete documentation: | Visual C++ documentation |
Syntax
DECLARE_PROTECT_FINAL_CONSTRUCT( )
See Also