Click to See Complete Forum and Search --> : Passing reference to String Array to a Managed C++ dll


svkr2k
March 4th, 2003, 05:47 AM
Dear forum members,

Can anybody tell me how to write a function in Managed VC++ dll
such that it takes the reference to a string array ?
I would call this function from a C# project !

in C# source code, i would call the function like this :

// ...some code
string[] testStringArray = null;
// ... some code

TestClassObj.TestFunction( ref testStringArray );
// use testStringArray


Thanks in advance.