From:             bas dot timmer at gmail dot com
Operating system: Windows NT 4.0 Service Pack 6A
PHP version:      4CVS-2005-05-12 (stable)
PHP Bug Type:     COM related
Bug description:  Access Violation when trying to create any COM object

Description:
------------
I get an Access Violation in php.exe, or the ISAPI dll when trying to use
new COM.

Reproduce code:
---------------
<?php
$acctDomain = "localhost";
echo "Making COM connection using ADSI\n\r";
$acctStr = "WinNT://".$acctDomain;
echo "$acctStr\n\r";
$comUsers = new COM($acctStr);
echo "new COM Sucessful";
?>

Expected result:
----------------
Don't crash, just make the COM object available to me.

Actual result:
--------------
I get this error:

PHP has encountered an Access Violation at 01568A68Make User
Warning: mkdir(D:\inetpub\wwwroot\hosttest): File exists in
D:\Inetpub\wwwroot\ntfunc.php on line 13

Warning: (null)(): Invalid ProgID, GUID string, or Moniker: Invalid syntax
in D:\Inetpub\wwwroot\ntfunc.php on line 15

Or an DrWatson32 when trying to execute from command line.

-- 
Edit bug report at http://bugs.php.net/?id=33016&edit=1
-- 
Try a CVS snapshot (php4):   http://bugs.php.net/fix.php?id=33016&r=trysnapshot4
Try a CVS snapshot (php5.0): 
http://bugs.php.net/fix.php?id=33016&r=trysnapshot50
Try a CVS snapshot (php5.1): 
http://bugs.php.net/fix.php?id=33016&r=trysnapshot51
Fixed in CVS:                http://bugs.php.net/fix.php?id=33016&r=fixedcvs
Fixed in release:            http://bugs.php.net/fix.php?id=33016&r=alreadyfixed
Need backtrace:              http://bugs.php.net/fix.php?id=33016&r=needtrace
Need Reproduce Script:       http://bugs.php.net/fix.php?id=33016&r=needscript
Try newer version:           http://bugs.php.net/fix.php?id=33016&r=oldversion
Not developer issue:         http://bugs.php.net/fix.php?id=33016&r=support
Expected behavior:           http://bugs.php.net/fix.php?id=33016&r=notwrong
Not enough info:             
http://bugs.php.net/fix.php?id=33016&r=notenoughinfo
Submitted twice:             
http://bugs.php.net/fix.php?id=33016&r=submittedtwice
register_globals:            http://bugs.php.net/fix.php?id=33016&r=globals
PHP 3 support discontinued:  http://bugs.php.net/fix.php?id=33016&r=php3
Daylight Savings:            http://bugs.php.net/fix.php?id=33016&r=dst
IIS Stability:               http://bugs.php.net/fix.php?id=33016&r=isapi
Install GNU Sed:             http://bugs.php.net/fix.php?id=33016&r=gnused
Floating point limitations:  http://bugs.php.net/fix.php?id=33016&r=float
No Zend Extensions:          http://bugs.php.net/fix.php?id=33016&r=nozend
MySQL Configuration Error:   http://bugs.php.net/fix.php?id=33016&r=mysqlcfg

Reply via email to