|  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
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Bug Type:
From: jayron_castro at hotmail dot com
New email:
PHP Version: OS:


 [2004-10-10 22:58 UTC] jayron_castro at hotmail dot com
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.

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.

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


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2004-10-11 08:04 UTC]
Please try using this CVS snapshot:
For Windows:
 [2004-10-14 20:41 UTC]
Don't use ISAPI, it has bugs.
PHP Copyright © 2001-2023 The PHP Group
All rights reserved.
Last updated: Wed Feb 08 11:03:42 2023 UTC