COM Server Object Properties

From: Date: Wed, 21 Jan 2004 17:39:50 +0000
Subject: COM Server Object Properties
Groups: php.general 
Request: Send a blank email to php-general+get-175320@lists.php.net to get a copy of this message
I have a COM server that exposes a read/write property with a parameter. Here is the IDL: [propget, id(5), helpstring("property Status")] HRESULT Status([in] BSTR bstrPhase, [out, retval] long *pVal); [propput, id(5), helpstring("property Status")] HRESULT Status([in] BSTR bstrPhase, [in] long newVal); PHP supports propget methods just fine as follows: $someValue = $settings->Status("R"); But propput methods don't compile like this: $settings->Status("R") = 1; And the built-in com_set() looks like it can't support parameters. Am I up a creek? Anyone ever used these features? They're *very* sparsely documented. :) J

« previous php.general (#175320) next »