Click here to Skip to main content
15,881,757 members
Please Sign up or sign in to vote.
5.00/5 (1 vote)
[id(0x60060001), helpcontext(0x000061aa)]
HRESULT GetComponents([in, out] SAFEARRAY(VARIANT) oAxisComponentsArray);

I want to know how to realize the COM in C++ with InvokeHelper.
Thanks
Posted

1 solution

In the IDL file it should be [in, out] SAFEARRAY(VARIANT)* oAxisComponentsArray
In the .h and .cpp files it should be SAFEARRAY** oAxisComponentsArray

 
Share this answer
 


CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900