My C# method needs to be invoked from C++ Originally my C# method takes 开发者_StackOverflowa parameter of type double[], but when calling from C++ it becomes a SAFEARRAY
i am having trouble importing c++ unmanaged dll into C# [winform]. Can someone help? Basically i am just trying to create a safearray of strings in c++ and trying to send it to C#.
I am trying to pass an array of ints from C# to C++/CLI. Here\'s my code: // SafeArrayTesting_PlusPlus.cpp
Am relatively new to the world of C++. I wish to access the data from a multi-dimensional SAFEARRAY. However when I try to retrieve the value, I get the error 0xC0000005: Access violation reading loca
I have a COM 开发者_Python百科object that takes a 0 bounded safearray of two dimensions. I need to pass this array into my C++ COM object. I can pass the VB6 multidim arrays into the C++ side without
I have an .NET (4.0) interface which is implemented with a ServicedComponent COM+ class: interface DotNetIface
I have an ATL COM object that I am using from C#.The interface currently looks like: interface ICHASCom : IDispatch{
I also used VT_RECORD. But didn\'t got success in passing safearray of UDTs. [ComVisible(true)] [StructLayout(LayoutKind.Sequential)]
I\'m trying to use a COM component with the following method: HRESULT _stdcall Run( [in] SAFEARRAY(BSTR) para开发者_运维问答mNames,