ID: 33016 Updated by: [EMAIL PROTECTED] Reported By: bas dot timmer at gmail dot com -Status: Open +Status: Feedback Bug Type: COM related Operating System: Windows NT 4.0 Service Pack 6A PHP Version: 4CVS-2005-05-12 (stable) New Comment:
Please upgrade to PHP 5. Support for COM in PHP 4 is not available for free, since it was rewritten from scratch for PHP 5. Previous Comments: ------------------------------------------------------------------------ [2005-05-12 15:00:56] bas dot timmer at gmail dot com 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 this bug report at http://bugs.php.net/?id=33016&edit=1