We recommend using Visual Studio 2017
This documentation is archived and is not being maintained.

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.

Show: