|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #9281 Using a dll
Submitted: 2001-02-15 10:29 UTC Modified: 2001-03-20 11:54 UTC
From: dcsnfh at cantv dot net Assigned:
Status: Closed Package: COM related
PHP Version: 4.0.4pl1 OS: Win nt 4.0 SP4
Private report: No CVE-ID: None
 [2001-02-15 10:29 UTC] dcsnfh at cantv dot net
Hello, i'm using a dll that have this structure

i'm doing this
$pro=new COM("ENGINE.Process");
 it works, and when i print the properties it is ok too, but when i do this

it gives me a error that says that the memory cant be "read" ????? i dont know why?!

i tried this too

and this
$cat=$pro->Cat // to catch the object returned but it falis too..

What can i do, many thanks


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2001-02-15 12:44 UTC]
what kind of object is Cat ?

if it is another IDispatch interface all should work fine.

if it is a custom object php doesn't know the object structure, so how should it determine the address to call when you do your method calls.

 [2001-02-15 13:26 UTC]
user reply:
this is a custom object. 
The problem i have is i programmed a web site in Jscript that uses this dll, then i'm trying to program this site in PHP and i don't know why i have this errors. Can you help me, maybe exists a function to retrieve all the object properties or methods?? 

please use the bugtracking system and don't reply directly to the notification email.

could you send me a code snippet how you have done this using JScript ? I think it's impossible to use the object without having an IDispatch interface of it.

 [2001-03-20 11:54 UTC]
no feedback
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Tue Jun 25 18:01:32 2024 UTC