how to call C++ dll function with int& and int* parameters from C#?
<p>My C++ DLL have a function like this:</p>

<pre><code>void func1(int&amp; count, int* pValue);
</code></pre>

<p>this function will determine the "count", and put some values into the pValue int array which is the length of "count". </p>

<p>how can I define my C# code?  you can ignor the [DllImport ...] part.</p>

<p>thanks,</p>
