Top "Safearray" questions

How to create and initialize SAFEARRAY of doubles in C++ to pass to C#

My C# method needs to be invoked from C++ Originally my C# method takes a parameter of type double[], but …

c# c++ visual-c++ safearray
How to iterate through SAFEARRAY **

how to iterate through C++ safearray pointer to pointer and access its elements. I tried to replicate the solution posted …

c++ com safearray
How to build a SAFEARRAY of pointers to VARIANTs?

I'm trying to use a COM component with the following method: HRESULT _stdcall Run( [in] SAFEARRAY(BSTR) paramNames, [in] SAFEARRAY(…

c++ com variant safearray
How to create a SafeArray C#?

I need to create a SafeArray to pass to a COM method. How do I create/maintain/destroy a SafeArray …

c# com interop com-interop safearray
Sending and receiving arrays over COM

What is the right way to receive and send arrays over COM? Here's my attempt so far: a safearray of …

c++ com variant safearray