--- embedaddon/php/ext/com_dotnet/com_variant.c 2012/02/21 23:47:53 1.1.1.1 +++ embedaddon/php/ext/com_dotnet/com_variant.c 2012/05/29 12:34:36 1.1.1.2 @@ -16,7 +16,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: com_variant.c,v 1.1.1.1 2012/02/21 23:47:53 misho Exp $ */ +/* $Id: com_variant.c,v 1.1.1.2 2012/05/29 12:34:36 misho Exp $ */ #ifdef HAVE_CONFIG_H #include "config.h" @@ -446,7 +446,7 @@ PHP_FUNCTION(com_variant_create_instance) if (FAILED(res)) { char *werr, *msg; - werr = php_win_err(res); + werr = php_win32_error_to_msg(res); spprintf(&msg, 0, "Variant type conversion failed: %s", werr); LocalFree(werr); @@ -1027,7 +1027,7 @@ PHP_FUNCTION(variant_set_type) } else { char *werr, *msg; - werr = php_win_err(res); + werr = php_win32_error_to_msg(res); spprintf(&msg, 0, "Variant type conversion failed: %s", werr); LocalFree(werr); @@ -1061,7 +1061,7 @@ PHP_FUNCTION(variant_cast) } else { char *werr, *msg; - werr = php_win_err(res); + werr = php_win32_error_to_msg(res); spprintf(&msg, 0, "Variant type conversion failed: %s", werr); LocalFree(werr);