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

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

Reply via email to