I currently have a C# method in an interface that has the following parameters when viewed in ITypeLib
HRESULT _stdcall SomeMethod ([in] Is_interface* inst,
[in] SAFEARRAY(long) bid);
The above method is in an interface and is defined in C#.After generating a type library I am attempting to create an implementation of that interface in C++. However I cannot figure out the type required for
[in] SAFEARRAY(long) bid
I am currently trying something like this
virtual HRESULT STDMETHODCALLTYPE SomeMethod (Is_interface* inst, CComSafeArray<long> bid);
Any suggestions on what the equivalent of [in] SAFEARRAY(long) bid
should be for the class implementing the C# interface.