Passing List(of string) to C++ acceptable format?

karimallen

Member
Joined
Jan 7, 2009
Messages
6
Programming Experience
1-3
Ok I have a C++ dll which is opened by a VB.NET program, the VB.NET program takes an 'arrayofstrings' from a web service, i want to send this to the C++ dll without converting it to a string(). is this possible??

thanks
 
You need to pass a compatible type, the webservice 'ArrayOfStrings' is as I told you really a List(Of String), so a C++ managed assembly would understand this type. Otherwise just call the ToArray method to get a regular VB string array from the ArrayOfStrings type.
 
Back
Top