On Tue, 16 May 2000 11:44:19 +0800, "Rhonald Lua" <[EMAIL PROTECTED]>
wrote:
>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().
So what happens when you call $data->Dim(), do you get an error? Are you
running with "perl -w"? If you get an error, what does it say?
-Jan
---
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]