safearray
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 开发者_StackOverflowa parameter of type double[], but when calling from C++ it becomes a SAFEARRAY[详细]
2023-01-16 06:27 分类:问答trouble using unmanaged c++ from c# using dllimport
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#.[详细]
2023-01-15 17:15 分类:问答SafeArrayPutElement method throws System.AccessViolationException
I am trying to pass an array of ints from C# to C++/CLI. Here\'s my code: // SafeArrayTesting_PlusPlus.cpp[详细]
2023-01-10 21:52 分类:问答Getting value from two dimensional Safearray in C++
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[详细]
2023-01-09 21:32 分类:问答Pass multidimensional (safe)array from C# to COM
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[详细]
2023-01-04 03:41 分类:问答How to call a .NET COM method with an array from delphi using PSafeArray?
I have an .NET (4.0) interface which is implemented with a ServicedComponent COM+ class: interface DotNetIface[详细]
2022-12-31 05:51 分类:问答How do I pass an array of structs (containing std:string or BSTR) from ATL to C#. SafeArray? Variant?
I have an ATL COM object that I am using from C#.The interface currently looks like: interface ICHASCom : IDispatch{[详细]
2022-12-29 20:20 分类:问答How to pass SAFEARRAY of UDTs to unmaged code from C#
I also used VT_RECORD. But didn\'t got success in passing safearray of UDTs. [ComVisible(true)] [StructLayout(LayoutKind.Sequential)][详细]
2022-12-27 13:16 分类:问答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) para开发者_运维问答mNames,[详细]
2022-12-12 17:16 分类:问答
加载中,请稍侯......