use of COM object

From: Date: Thu, 01 Aug 2002 13:52:02 +0000
Subject: use of COM object
Groups: php.general 
Request: Send a blank email to php-general+get-110668@lists.php.net to get a copy of this message
Hello, I have to use a COM object with following properties: ... Property StationsX(lIndex As Long) As Long Property StationsY(lIndex As Long) As Long ... I didn't manage to initialize these properties. I create a new COM object with: $obj = new COM("********"); If I try $obj->StationX(0)=$val; I get an error message ( StationX(0) is then known as a function. So, I can't put a value in it) So, I want to use com_propput but it doesn't work. Can any one help me, giving me the good syntax for com_propput, or giving me advices... I'm using PHP 4.2.2 Thank u very much

« previous php.general (#110668) next »