B
Boni
Dear all,
I have written a C++ COM object:
STDMETHOD(myfunc)(INT* array)
Now I need to pass an array from c# to COM. I generated a COM interop and
the signature of the function is
myfunc(ref int)
in C# I have an array of ints.
If I call
myfunc(array[0])
and try to access from COM object the array[1],2.... they are incorrect.
Only array[0] is correct. What do I do wrong?
Thanks a lot,
Boni
I have written a C++ COM object:
STDMETHOD(myfunc)(INT* array)
Now I need to pass an array from c# to COM. I generated a COM interop and
the signature of the function is
myfunc(ref int)
in C# I have an array of ints.
If I call
myfunc(array[0])
and try to access from COM object the array[1],2.... they are incorrect.
Only array[0] is correct. What do I do wrong?
Thanks a lot,
Boni