Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
The new home for Visual Studio documentation is Visual Studio 2017 Documentation on docs.microsoft.com.
The latest version of this topic can be found at no_smart_pointers. C++ Specific
Suppresses the creation of smart pointers for all interfaces in the type library.
Syntax
no_smart_pointers
Remarks
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