no_smart_pointers import attribute
C++ Specific
Suppresses the creation of smart pointers for all interfaces in the type library.
Syntax
#import type-library 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.
END C++ Specific
See also
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for