Hi Folks,

I'm hoping this is a trivial question with an equally trivial answer. I've got a C# program that I'm experimenting with, which simply passes an array of doubles and the size of the array to a C++ DLL. The DLL will then simply add 500 to each element of the array and append a new element onto the end of the array and throw that back over the wall to the caller.

My issue is is I can modify the data but I can't seem to add the array element. Can someone point me in the direction or provide me with a little snippet of code that accomplishes this?

Thanks in advance,