note
chinman
[Solo]
<p>This looks like it should work, but I've still got no joy. If I print the filename, it's still coming back as "0". Should I have to do anything to coerce <code>$filename</code> back into something that I can print? I'm wondering if the "Open" method is working in the first place.
<p><b>UPDATE:</b>
<p>It looks like I can get methods that want a pointer to a long to work by initializing them with <code>$var = Variant(VT_I4|VT_BYREF, 0);</code>. The docs say that the BSTR variables have to be initialized to NULL. Isn't that what we're doing with the <code>$var = Variant(VT_BSTR|VT_EMPTY, 0)</code> statment?
<p>
[chinman]
234310
234310