ID: 35389 Updated by: [EMAIL PROTECTED] Reported By: bke15 at gmx dot de -Status: Assigned +Status: Bogus Bug Type: COM related Operating System: Windows 2003 PHP Version: 5.1.0 Assigned To: wez New Comment:
Please do not submit the same bug more than once. An existing bug report already describes this very problem. Even if you feel that your issue is somewhat different, the resolution is likely to be the same. Thank you for your interest in PHP. Dupe of bug #35316 and fixed in CVS Previous Comments: ------------------------------------------------------------------------ [2005-11-26 16:42:22] jbr at yaright dot com HI PHP 5.1.0 ISAPI AND CGI I have tried to get COM via PHP 5.1.0 to work on IIS, Apache and Sambar. Trying to use even (try, catch) no matter what simple object is called will result in... PHP has encountered an Access Violation at 0140AC0D This works in... PHP 5.0.*, and snaps 5.1.x-dev before Nov 19, 2005 snaps. <? $url = 'http://www.php.com/'; $obj = new COM ( 'InternetExplorer.Application' ); if ( is_object ( $obj ) ) { $ifn = parse_url ( $url ); $obj->Visible = false; $obj->FullScreen = true; $obj->Width = 800; $obj->Navigate ( $url ); while ( $obj->ReadyState != '4' ) usleep ( 10000 ); echo $obj->Document->body->scrollHeight; $obj->Quit (); $obj = null; } ?> The result should print the (document body scroll height in pixels) At least in PHP 5.0.4, COM was working ok, sure there were still problems with variants and references to variants, but at least COM was working, now nothing. I tried the latest (5.1.dev - Nov 26, 2005 11:30 GMT and it still does not work, same problem) ------------------------------------------------------------------------ [2005-11-25 14:04:51] bke15 at gmx dot de I have no errors in the ErrorLog nor in the eventlog. ------------------------------------------------------------------------ [2005-11-25 13:21:32] [EMAIL PROTECTED] Btw, check the event viewer or whatever it's called to see if there are any error log entries. ------------------------------------------------------------------------ [2005-11-25 13:18:35] bke15 at gmx dot de SysInformation: I am using IIS with ISAPI Extension. Windows is running with latest servicepack and patches. ------------------------------------------------------------------------ [2005-11-25 12:38:52] [EMAIL PROTECTED] Assigned to the maintainer. ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/35389 -- Edit this bug report at http://bugs.php.net/?id=35389&edit=1