--- embedaddon/php/ext/com_dotnet/com_olechar.c 2012/02/21 23:47:53 1.1.1.1 +++ embedaddon/php/ext/com_dotnet/com_olechar.c 2012/05/29 12:34:36 1.1.1.2 @@ -17,7 +17,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: com_olechar.c,v 1.1.1.1 2012/02/21 23:47:53 misho Exp $ */ +/* $Id: com_olechar.c,v 1.1.1.2 2012/05/29 12:34:36 misho Exp $ */ #ifdef HAVE_CONFIG_H #include "config.h" @@ -54,7 +54,7 @@ PHPAPI OLECHAR *php_com_string_to_olestring(char *stri } if (!ok) { - char *msg = php_win_err(GetLastError()); + char *msg = php_win32_error_to_msg(GetLastError()); php_error_docref(NULL TSRMLS_CC, E_WARNING, "Could not convert string to unicode: `%s'", msg); @@ -85,7 +85,7 @@ PHPAPI char *php_com_olestring_to_string(OLECHAR *oles } if (!ok) { - char *msg = php_win_err(GetLastError()); + char *msg = php_win32_error_to_msg(GetLastError()); php_error_docref(NULL TSRMLS_CC, E_WARNING, "Could not convert string from unicode: `%s'", msg);