|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2005-05-12 15:00 UTC] 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. PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Tue Oct 28 13:00:01 2025 UTC |
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"); ?>