ID: 33016 Updated by: [EMAIL PROTECTED] Reported By: bas dot timmer at gmail dot com Status: No Feedback Bug Type: COM related Operating System: Windows NT 4.0 Service Pack 6A -PHP Version: 4CVS-2005-05-12 (stable) +PHP Version: 4.4.1 New Comment:
Crash reproduced on W2K SP4 + PHP 4.4.1 (cli) (built: Oct 30 2005 12:45:47). <?php $my = new COM("MY.UNEXISTENT") or die ("create fail"); ?> Previous Comments: ------------------------------------------------------------------------ [2005-05-20 01:00:06] php-bugs at lists dot php dot net No feedback was provided for this bug for over a week, so it is being suspended automatically. If you are able to provide the information that was originally requested, please do so and change the status of the bug back to "Open". ------------------------------------------------------------------------ [2005-05-12 22:06:13] [EMAIL PROTECTED] 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. ------------------------------------------------------------------------ [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