thus the CoInitialize / CoUninitialize calles are more sane here
than in the basic functions module.
php_core_globals *core_globals;
#endif
+
#if defined(PHP_WIN32) || (defined(NETWARE) && defined(USE_WINSOCK))
WORD wVersionRequested = MAKEWORD(2, 0);
WSADATA wsaData;
#endif
#ifdef PHP_WIN32
+ CoInitialize(NULL);
+
{
DWORD dwVersion = GetVersion();
#endif
module_initialized = 0;
+
+#ifdef PHP_WIN32
+ CoUninitialize();
+#endif
}
/* }}} */