Compiler COM Global Functions
Visual Studio 2015
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:
| 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: