Are you sure this will work with ISAPI ?

IIRC, CoInitialize was moved from module init to resuest request init to
stabilize ISAPI.

- Frank

> phanto                Tue Jan 28 18:46:13 2003 EDT
> 
>   Modified files:              (Branch: PHP_4_3)
>     /php4/ext/standard        basic_functions.c 
>   Log:
>   moved to php4/main
>   
> Index: php4/ext/standard/basic_functions.c
> diff -u php4/ext/standard/basic_functions.c:1.543.2.5
php4/ext/standard/basic_functions.c:1.543.2.6
> --- php4/ext/standard/basic_functions.c:1.543.2.5     Tue Dec 31 11:35:25
2002
> +++ php4/ext/standard/basic_functions.c       Tue Jan 28 18:46:13 2003
> @@ -17,7 +17,7 @@
>    
+----------------------------------------------------------------------+
>   */
>  
> -/* $Id: basic_functions.c,v 1.543.2.5 2002/12/31 16:35:25 sebastian Exp
$ */
> +/* $Id: basic_functions.c,v 1.543.2.6 2003/01/28 23:46:13 phanto Exp $
*/
>  
>  #include "php.h"
>  #include "php_streams.h"
> @@ -1098,10 +1098,6 @@
>  
>  PHP_RINIT_FUNCTION(basic)
>  {
> -#ifdef PHP_WIN32
> -     CoInitialize(NULL);
> -#endif
> -
>       memset(BG(strtok_table), 0, 256);
>       BG(strtok_string) = NULL;
>       BG(strtok_zval) = NULL;
> @@ -1182,10 +1178,6 @@
>       if (BG(mmap_file)) {
>               munmap(BG(mmap_file), BG(mmap_len));
>       }
> -#endif
> -
> -#ifdef PHP_WIN32
> -     CoUninitialize();
>  #endif
>  
>       return SUCCESS;
> 
> 
> 
> -- 
> PHP CVS Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
> 
> 




-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to