次の方法で共有


_ATL_NO_VARIANT_THROW

 

Suppresses the CComVariant Class from throwing exceptions.

Syntax

#define _ATL_NO_VARIANT_THROW

Remarks

Define this macro if your module must not throw exceptions. When this macro is defined, CComVariant will not throw exceptions. By default, this macro is not defined.

See Also

ATL Macros
ATL Macros Alphabetical Reference
Active Template Library (ATL) Concepts