On 2/11/2016 5:38 AM, ggwang wrote:
I've tried setting vt of the VARIANT als VT_BYREF|VT_ARRAY|VT_I4, pparray equal to a SAFEARRAY**. But it failed. Does anyone know how to invoke a function with a reference array argument?
Define "it failed" - what outcome did you expect, and what did you observe? Show the IDL definition of the method you are trying to call, and your code that sets up parameters for the call.