title: How to pass VARIANT* to ocx using pyqt5?
body: <p>I'm very new to PyQt5.
  I'm now trying to call ocx function which takes VARIANT* type as argument.
  So I created QVariant variable and toss it into the function, but I can get nothing but only error.</p>
  
  <p>The function prototype is:</p>
  
  <p><code>LONG ReceiveProcDataArr(LONG nRqID, BSTR sProc, LONG nOutRecIndex, VARIANT* pArrData)</code></p>
  
  <p>and i tried to use this with following code:</p>
  
  <pre><code>from PyQt5.QtCore import QVariant
  ocx_module = QAxWidget("[ocx control]")
  
  # some codes to skip...
  
  data = QVariant()
  item_length = ocx_module.dynamicCall("ReceiveProcDataArr(int, QString, int, QVariant&amp;)", [rqID, proc, 0, data])
  </code></pre>
  
  <p>and I got error: </p>
  
  <p><code>Error calling IDispatch member ReceiveProcDataArr: Type mismatch in parameter 3</code></p>
  
  <p>I can use "ocx_module" which does not take argument or takes only int/string type such as:</p>
  
  <pre><code>success = ocx_module.dynamicCall("Init()")
  success = ocx_module.dynamicCall("Login(QString, QString)", user_id, user_pw)
  </code></pre>
  
  <p>My environment is:</p>
  
  <ul>
  <li>windows 10 pro</li>
  <li>python 3.6 x86</li>
  <li>pyqt5 == 5.9</li>
  </ul>
  
  <p>I searched for a while, but I cannot find answer about this. Can anyone help me?</p>