I think it has to be VT_ARRAY|VT_BSTR|VT_BYREF. I believe you'll need to do something like:
my $array = Variant(VT_ARRAY|VT_BSTR|VT_BYREF, $length); $obj->getMemberNames( $array);
Jenda
Always code as if the guy who ends up maintaining your code
will be a violent psychopath who knows where you live.
-- Rick Osborne
Edit by castaway: Closed small tag in signature
In reply to Re: Win32::OLE and SAFEARRAYs
by Jenda
in thread Win32::OLE and SAFEARRAYs
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |