#30385 [Fbk->Bgs]: Error in loading object COM
| From: | wez@php.net | Date: | Thu, 14 Oct 2004 18:41:53 +0000 |
| Subject: | #30385 [Fbk->Bgs]: Error in loading object COM | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-67597@lists.php.net to get a copy of this message | ||
ID: 30385
Updated by: wez@php.net
Reported By: jayron_castro at hotmail dot com
-Status: Feedback
+Status: Bogus
Bug Type: COM related
Operating System: Windows 2003 Server
PHP Version: 5.0.2
New Comment:
Don't use ISAPI, it has bugs.
Previous Comments:
------------------------------------------------------------------------
[2004-10-11 08:04:14] derick@php.net
Please try using this CVS snapshot:
http://snaps.php.net/php5-latest.tar.gz
For Windows:
http://snaps.php.net/win32/php5-win32-latest.zip
------------------------------------------------------------------------
[2004-10-10 22:58:42] jayron_castro at hotmail dot com
Description:
------------
All time that goes to be "instancied" an object "DLL" using filter
ISAPI occurs an error of "Access Violation", but the same it is solved
using in the server way cgi.
Warning:
I using IIS 6.0
Descrição do erro em português:
Toda vez que vai ser instanciado um objeto DLL usando filtro ISAPI
ocorre um erro de violação de acesso, para solucionar o problema foi
usado o modo CGI, mas em servidor o CGI é muito pesado.
Atenção:
Estou usando IIS 6.0
Reproduce code:
---------------
<?
//Using PHP-CGI:
$teste = new COM("JaccGeraCod.cCrip") or die("Error");
echo "Working";
?>
browser out: Working
<?
//Using PHP5ISAPI:
$teste = new COM("JaccGeraCod.cCrip") or die("Error");
echo "Working";
?>
browser out: Access Violation
Expected result:
----------------
browser out: Working
Actual result:
--------------
browser out: Access Violation
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=30385&edit=1