no_smart_pointers

 

For the latest documentation on Visual Studio 2017, see Visual Studio 2017 Documentation.

C++ Specific

Suppresses the creation of smart pointers for all interfaces in the type library.

no_smart_pointers  

By default, when you use #import, you get a smart pointer declaration for all interfaces in the type library. These smart pointers are of type _com_ptr_t Class.

END C++ Specific

#import Attributes
#import Directive

Show: