in reply to COM Object
I believe you have to predeclare the variable as VT_BYREF first. Something like:
my $Status; my $Is_In = Variant(VT_BYREF | VT_VARIANT, 0); while (1) { $Status = $Rdr->IsCardIn($Is_In); print "Is Card In:$Status ; IsCardIn:$Is_In\n"; sleep(1); }
Look at the "Variants by reference" section of the Win32::OLE::Variant docs.
Jenda
Enoch was right!
Enjoy the last years of Rome.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: COM Object
by Bintuch (Acolyte) on May 13, 2010 at 05:52 UTC |