A
Aby
hi all,
i need to send a String array from C# to a managed c++ dll
function.
Managed dll mthd --
void Managed:rintNames( String* a_arStrNames[])
{
}
C# app calling dll fun --
string[] arStrNames= { "MS", "HI", "HELLO" };
Managed m = new Managed();
m.printNames ( arStrNames );
This fails at runtime on the call to 'printNames' , saying
'Object reference not set to an instance of an object.'
What is the probelm here. Plz help .....
thanks,
abin
i need to send a String array from C# to a managed c++ dll
function.
Managed dll mthd --
void Managed:rintNames( String* a_arStrNames[])
{
}
C# app calling dll fun --
string[] arStrNames= { "MS", "HI", "HELLO" };
Managed m = new Managed();
m.printNames ( arStrNames );
This fails at runtime on the call to 'printNames' , saying
'Object reference not set to an instance of an object.'
What is the probelm here. Plz help .....
thanks,
abin