PHP seems to have problems with multiple levels of indirection.
Try assigning the object you need to work with to a local variable.
e.g.
// Assign to temp variable
$tempCAT = $pro->CAT;
// Do some work
$tempCAT->FILTER(XXX);
// Copy back to original object
$pro->CAT = $tempCAT;
Bye
Marius
----- Original Message -----
From: Dario Carnelutti <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, February 13, 2001 9:43 PM
Subject: [PHP-WIN] PHP + COM
> Hi i have a problem with PHP using a dll that i have created
>
> the dll have this structure
> class (PROCESS)
> object(CAT)
> void(FILTER)
>
> then, when i do this:
> $pro=new COM("ENGINE.PROCESS"); it works fine
> if i print any property it works but when i try to use the void filter
> it gives me a lot of errors
>
> i'm trying this
> $pro->CAT.FILTER(XXX);
>
> and i have tried
> $pro->CAT->FILTER(XXX);
>
> but nothing works, can somebody help me...
>
> thanks
>
> Dario
>
>
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
>
>
>
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]