This is a discussion on How to pass array of string from vc++ dll to C# ? within the C and C++ Programming forums, part of the Software Development category; How to pass array of string from vc++ dll to C# ?...
| |||||||
| Register | FAQ | Members List | Calendar | Mark Forums Read |
| |||
| Hi, The one way is to combine the array of string into string using a separator and pass the string from VC++.net into C#. We can split the string from the C# and then convert it into array of string using Separator.
__________________ The OXYGEN Delivers edgy, intelligent Technology to all... |
| |||
| Hmm... That way you will be limited to the maximum length of one variable. Why wont you try something like writing into a text file in Vc++ and reading from there by C#. Just call the function with other arguments if any, and in the function, write the code to read the text file and parse it for the array of string. |
![]() |
| Thread Tools | |
| Display Modes | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Compare a string with String Array. | oxygen | C# Programming | 5 | 12-28-2007 11:18 PM |
| Is it possible to Pass Query String to Javascript? | velhari | HTML, CSS and Javascript Coding Techniques | 1 | 11-20-2007 10:47 PM |
| how to pass and retrieve variable(query string) in same page using ajax? | ursklakshmanan | PHP Programming | 0 | 09-17-2007 12:05 PM |
| What is the main difference between pass-by-reference and pass-by-value? | oxygen | Java Programming | 2 | 08-07-2007 01:15 AM |
| How to Pass a string value from vc++ .net dll to c#? | kingmaker | C and C++ Programming | 1 | 07-24-2007 05:37 AM |