note 28337 rejected from ref.com by victor

From: Date: Thu, 09 Jan 2003 19:31:44 +0000
Subject: note 28337 rejected from ref.com by victor
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-41925@lists.php.net to get a copy of this message
I have a object COM => test. This object has a method => somar. I'have implemented in Borland Delphi. In a Client Apllication implemented in Delphi, i have: Parameters INPUT value1, value2: Integer; Parameters OUTPUT soma: Integer; When, i do: DCOMConnection.AppServer.somar(value1, value2, soma); The parameter OUTPUT "soma" returns the result of ADD between "value1" and "value2". But, when i did same in PHP: $test = new COM("test"); $test->Somar($value1, $value2, $soma); The parameter OUTPUT "soma" returns NULL; I think about the Variant Class, doing this: $soma = new Variant(0, VT_INT|VT_BYREF) or $soma = new Variant(0, VT_INT) or $soma = new Variant(0, VT_I4|VT_BYREF) , etc... In neither of cases i get any result! :( Can i do to resolve the problem????? My PHP is 4.2.1. Thank you. João Paulo Souza (JPSouza) -

« previous php.notes (#41925) next »