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
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem:
34 - 10 = ?
Subscribe to this entry?

 
 [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

Add a Patch

Pull Requests

Add a Pull Request

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: Fri Mar 29 11:01:29 2024 UTC