Hi.

I have a COM object with a method that returns a SAFEARRAY via an [out]
parameter, and I am having problems getting its dimension.

My script is something like the following:
#include modules
use Win32::OLE;
use Win32::OLE::Variant;
#declare parameter to receive [out]
my $data=Variant(VT_BYREF|VT_VARIANT,Variant(VT_EMPTY));
#create the object
my $fdi=Win32::OLE->new('FDIServer.FDIData.2');
#call the method
fdi->GetData($data);

Now I am allowed (by the perl interpreter) to write things like
$data->Get(0,0), etc.  but NOT $data->Dim() or $$data->Dim().

Any ideas?  Hope I figure it out before any of you guys reply, for the sake
of my pride |-)

--Rhonald



---
You are currently subscribed to perl-win32-users as: [archive@jab.org]
To unsubscribe, forward this message to
         [EMAIL PROTECTED]
For non-automated Mailing List support, send email to  
         [EMAIL PROTECTED]

Reply via email to