php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #30385 Error in loading object COM
Submitted: 2004-10-10 22:58 UTC Modified: 2004-10-14 20:41 UTC
From: jayron_castro at hotmail dot com Assigned:
Status: Not a bug Package: COM related
PHP Version: 5.0.2 OS: Windows 2003 Server
Private report: No CVE-ID: None
 [2004-10-10 22:58 UTC] 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


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2004-10-11 08:04 UTC] 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-14 20:41 UTC] wez@php.net
Don't use ISAPI, it has bugs.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Dec 21 17:01:58 2024 UTC