php-windows Digest 4 Nov 2008 14:20:14 -0000 Issue 3537
Topics (messages 29072 through 29072):
COM and com_safearray_proxy objects
29072 by: Alex Bovey
Administrivia:
To subscribe to the digest, e-mail:
[EMAIL PROTECTED]
To unsubscribe from the digest, e-mail:
[EMAIL PROTECTED]
To post to the list, e-mail:
[EMAIL PROTECTED]
----------------------------------------------------------------------
--- Begin Message ---
Hi all,
I'm trying to get my head around COM and interfaces and I'm making
slow progress but have hit a problem.
I have an IProduct interface and using com_print_typeinfo($iproduct) I
can see it has the following property (amongst others):
/* DISPID=1745027081 */
var $Description;
/* DISPID=1745027081 */
/* VT_BSTR [8] */
var $Description;
If I do var_dump($iproduct->Description) I get the following output:
object(com_safearray_proxy)#7 (0) {}
Now I have no idea what a com_safearray_proxy object is at all, and
googling it hardly produces any results so I can't imagine it's very
common.
Any ideas how I am to access that property in my code?
Thanks all,
Alex
--
Alex Bovey
Web Developer | Alex Bovey Consultancy Ltd
Registered in England & Wales no. 6471391 | VAT no. 934 8959 65
PHP | MySQL | AJAX | XHTML | CSS | Javascript | XML | W3C Accessibility
--- End Message ---