G
Guest
In COM I have an interface method that takes in
IMyInterface::MyMethod([in] ULONG ulCount, LPCWSTR* ppwszStrings);
So the client can do something like:
LPWSTR lpwszNet[2] ={L"String1" , L"String2"};
pMyInterface->MyMethod(2,&lpwszNet[0]);
Now if I wanna use the COM component from .Net LCWSTR* gets converted to ref
string.
So .Net C# code sees IMyInterface::MyMethod(uint ulCount,ref string
ppwszStrings);
How do I pass in an array of strings via this paramter.
IMyInterface::MyMethod([in] ULONG ulCount, LPCWSTR* ppwszStrings);
So the client can do something like:
LPWSTR lpwszNet[2] ={L"String1" , L"String2"};
pMyInterface->MyMethod(2,&lpwszNet[0]);
Now if I wanna use the COM component from .Net LCWSTR* gets converted to ref
string.
So .Net C# code sees IMyInterface::MyMethod(uint ulCount,ref string
ppwszStrings);
How do I pass in an array of strings via this paramter.