Compiler COM Global Functions

 

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 Compiler COM Global Functions.

Microsoft Specific**

The following routines are available:

FunctionDescription
_com_raise_errorThrows a _com_error in response to a failure.
_set_com_error_handlerReplaces the default function that is used for COM error-handling.
ConvertBSTRToStringConverts a BSTR value to a char *.
ConvertStringToBSTRConverts a char * value to a BSTR.

Compiler COM Support Classes
Compiler COM Support

Show: