https://bugs.winehq.org/show_bug.cgi?id=53766
--- Comment #8 from Jason Millard jsm174@gmail.com ---
(In reply to Nikolay Sivov from comment #6)
The method, sure. Are you using same Invoke() implementation on Windows as well?
Okay, so I updated the Windows version and overrode GetIDsOfNames and Invoke methods. Sure enough vbscript error on the UBound call.
I switched it to VT_VARIANT | VT_ARRAY and it's working fine.
I think we can close this and https://bugs.winehq.org/show_bug.cgi?id=53866 as well.