in reply to Using Win32::OLE

I can't conveniently test it, but likely, you can use Win32::OLE::Variant for the OUT types:

my $NumbFiles = Variant(VT_EMPTY); $SOS->GetFileAgesValue({ ... NumFiles => $NumbFiles, }); ... print $NumbFiles;

Replies are listed 'Best First'.
Re^2: Using Win32::OLE
by BasilOfWestdene (Initiate) on Jun 27, 2012 at 15:28 UTC
    Hi Corion,

    Thanks for the idea but I'm still getting nothing returned - and I've tried multiple Variant options including VT_BYREF. I'm not sure the call is working properly (I've tried dumping the method and I get 2 undef variables.

    BasilOfwesdene