http://qs1969.pair.com?node_id=235657


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);

FINALLY!!!