共用方式為


Compiler COM Global Functions

Microsoft Specific

The following routines are available:

Function

Description

_com_raise_error

Throws a _com_error in response to a failure.

_set_com_error_handler

Replaces the default function that is used for COM error-handling.

ConvertBSTRToString

Converts a BSTR value to a char *.

ConvertStringToBSTR

Converts a char * value to a BSTR.

See Also

Reference

Compiler COM Support Classes

Compiler COM Support