Re: PHP 4.0 Bug #9281 Updated: Using a dll

From: Date: Thu, 15 Feb 2001 18:08:44 +0000
Subject: Re: PHP 4.0 Bug #9281 Updated: Using a dll
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-46683@lists.php.net to get a copy of this message
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?? Thanks Dario Carnelutti Bug Database wrote: > ID: 9281 > Updated by: phanto > Reported By: dcsnfh@cantv.net > Status: Open > Bug Type: COM related > Assigned To: > Comments: > > 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. > > harald. > > Previous Comments: > --------------------------------------------------------------------------- > > [2001-02-15 10:29:59] dcsnfh@cantv.net > Hello, i'm using a dll that have this structure > Class(Process) > Object(CAT) > void(Filter) > > 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 > > $pro->Cat.Filter(XX); > it gives me a error that says that the memory cant be "read" ????? i dont know why?! > > i tried this too > $pro->Cat->Filter(XXX); > > and this > $cat=$pro->Cat // to catch the object returned but it falis too.. > > What can i do, many thanks > > --------------------------------------------------------------------------- > > ATTENTION! Do NOT reply to this email! > To reply, use the web interface found at > http://bugs.php.net/?id=9281&edit=2

« previous php.dev (#46683) next »