7 explicit COMexception(
const std::string& what_arg) : std::runtime_error(what_arg) { }
14 static std::string
com_message(
const std::string& message, HRESULT hr);
int allocateArrayVariant(VARIANT *v, VARTYPE v_type, int *dims_array, int ndims)
COMexception(const std::string &what_arg)
COMexception(const std::string &message, HRESULT hr)
static int accessArrayVariant(VARIANT *v, void **values, VARTYPE vt)
int arrayVariantLength(VARIANT *v)
int arrayVariantDimensions(VARIANT *v, int dims_array[], int &ndims)
int unaccessArrayVariant(VARIANT *v)
static std::string com_message(const std::string &message, HRESULT hr)
int makeVariantFromArray(VARIANT *v, const std::vector< T > &the_array)