if (COMG(dotnet_runtime_stuff) == NULL) {
if (FAILURE == dotnet_init(TSRMLS_C)) {
- com_throw_exception("Failed to initialize .Net runtime" TSRMLS_CC);
+ php_com_throw_exception("Failed to initialize .Net runtime" TSRMLS_CC);
ZVAL_NULL(object);
return;
}
&assembly_name, &assembly_name_len,
&datatype_name, &datatype_name_len,
&obj->code_page)) {
- com_throw_exception("Could not create .Net object - invalid arguments!" TSRMLS_CC);
+ php_com_throw_exception("Could not create .Net object - invalid arguments!" TSRMLS_CC);
ZVAL_NULL(object);
return;
}
VariantClear(&vargs[1]);
if (ret == FAILURE) {
- com_throw_exception("Failed to instantiate .Net object" TSRMLS_CC);
+ php_com_throw_exception("Failed to instantiate .Net object" TSRMLS_CC);
ZVAL_NULL(object);
return;
}