omegahat / RDCOMClient

GNU General Public License v2.0
77 stars 34 forks source link

COM method using VARIANT * as a parameter #6

Open BadJerry opened 6 years ago

BadJerry commented 6 years ago

Hello again, I have now managed to look inside the VARIANT... my problem is that if a COM object method's parameter is defined as a VARIANT *, it seems like the parameter retains its original values (is there a copy done before the call?). Now if a VARIANT is returned by the COM object, this works fine. Thanks again!

induthings-coder commented 5 years ago

Hi everyone, I'm having a similar problem... I need to call this function

"HRESULT QueryTimeData([out,ref] float pTimeBase, [out,ref] float pXOffset, [out,ref] VARIANT *pData)"

I'm not sure about is R syntax problem or is not supported by RDCOMClient... Thanks, best regards