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

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to