I would like an example of code that will take a complex user defined array in VB6 and allow it to be consumed by a .net program running as a dll within VB6. After it accepts the data I need the dll to make a minor change to the data (to demonstrate it has worked) and then return the array back to Visual basic.
We will use this as a working example of how to transmit and receive data between ,net and VB6.
The array should be a user defined type within VB such as the following:
Define Type DataArray
numbers() as long
letters() as string
dim Data2Pass(10) as dataarray
So we want to pass the array Data2Pass to a dll created within C#.net and returned a modified version of the array from the dll back to the array.
I will want source code and instructions on how to create the dll as well as the VB6 code that uses the dll.
I need this fairly quick (1-2 days).
14 威客就此工作平均出价 $541
i highly doubt that .net program can be run inprocess, because it requires CLR. why you need it to run in process? why not serialize and send it by any transport to separate .net program?