--- description: "Learn more about: Compiler COM Global Functions" title: "Compiler COM Global Functions" ms.date: "11/04/2016" helpviewer_keywords: ["cl.exe compiler, COM support", "COM, compiler support"] ms.assetid: 74449d26-50a2-47c7-b175-7cf2cf83533e --- # Compiler COM Global Functions **Microsoft Specific** The following routines are available: |Function|Description| |--------------|-----------------| |[_com_raise_error](../cpp/com-raise-error.md)|Throws a [_com_error](../cpp/com-error-class.md) in response to a failure.| |[_set_com_error_handler](../cpp/set-com-error-handler.md)|Replaces the default function that is used for COM error-handling.| |[ConvertBSTRToString](../cpp/convertbstrtostring.md)|Converts a `BSTR` value to a `char *`.| |[ConvertStringToBSTR](../cpp/convertstringtobstr.md)|Converts a `char *` value to a `BSTR`.| **END Microsoft Specific** ## See also [Compiler COM Support Classes](../cpp/compiler-com-support-classes.md)
[Compiler COM Support](../cpp/compiler-com-support.md)