--- embedaddon/php/ext/com_dotnet/com_misc.c 2012/02/21 23:47:53 1.1.1.1 +++ embedaddon/php/ext/com_dotnet/com_misc.c 2012/05/29 12:34:36 1.1.1.2 @@ -16,7 +16,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: com_misc.c,v 1.1.1.1 2012/02/21 23:47:53 misho Exp $ */ +/* $Id: com_misc.c,v 1.1.1.2 2012/05/29 12:34:36 misho Exp $ */ #ifdef HAVE_CONFIG_H #include "config.h" @@ -33,7 +33,7 @@ void php_com_throw_exception(HRESULT code, char *messa { int free_msg = 0; if (message == NULL) { - message = php_win_err(code); + message = php_win32_error_to_msg(code); free_msg = 1; } zend_throw_exception(php_com_exception_class_entry, message, (long)code TSRMLS_CC);