title: How to build a SAFEARRAY of pointers to VARIANTs?
body: <p>I'm trying to use a COM component with the following method:</p>
  
  <pre><code>HRESULT _stdcall Run(
      [in] SAFEARRAY(BSTR) paramNames,
      [in] SAFEARRAY(VARIANT *) paramValues
      );
  </code></pre>
  
  <p>How can I create in C/C++ the paramValues array?</p>