in reply to Perl for OLE & OCX

If "Modes" is a property (and not a method), then it may help to reference it like one. Something like this may work:

my $HALi = Win32::OLE->new('HALiCnt.HALi'); my $c = $HALi->{'Modes'}->Count();

Replies are listed 'Best First'.
Re^2: Perl for OLE & OCX
by wa4otj (Beadle) on Jun 16, 2004 at 17:05 UTC
    Thanks, but nope. Tried it, same result.