|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2005-11-21 19:13 UTC] Jared dot Williams1 at ntlworld dot com
Description:
------------
An application exception occurs when trying to create any COM object.
COM php.ini settings.. (all defaults)
Directive => Local Value => Master Value
com.allow_dcom => 0 => 0
com.autoregister_casesensitive => 1 => 1
com.autoregister_typelib => 0 => 0
com.autoregister_verbose => 0 => 0
com.code_page => no value => no value
com.typelib_file => no value => no value
Reproduce code:
---------------
php -r "$fso = new COM('Scripting.FileSystemObject'); $fso = NULL;"
php -r "$word = new COM('Word.Application'); $word = NULL;"
php -r "$connection = new COM('ADODB.Connection'); $connection = NULL;"
Expected result:
----------------
Nothing.
Actual result:
--------------
---------------------------
php.exe - Application Error
---------------------------
The instruction at "0x100aa8dd" referenced memory at "0x000000f9". The memory could not be "read".
Click on OK to terminate the program
Click on CANCEL to debug the program
---------------------------
OK Cancel
---------------------------
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Wed Oct 29 21:00:01 2025 UTC |
Win Xp Pro Apache 2 PHP 5.1.0 $conn=new COM('some_ActiveX_object.some_class'); I test it with ActiveX-exe/dll and still my apache crashe couse the error in php5ts.dll module. with V5.0.4.4 I dont see any problem.