in reply to "pointers" for calling a DLL

Ok, I finally got it to work. You have to leave out the DATA parameter in the Variant method.

For example, this does not work:

my $var = Variant(VT_BSTR|VT_BYREF, 0);

but, this does:

my $var = Variant(VT_BSTR|VT_BYREF);


Replies are listed 'Best First'.
Re^2: "pointers" for calling a DLL
by Solo (Deacon) on Feb 16, 2003 at 02:49 UTC
    Thanks for posting your solution!
    Now let's blow this thing and go home!