Gweniviere
MIS
Hi. I have written a small program in VFP 7.o and comiled it into a DLL. The main method in this DLL requires several parameters...
Some as type string (search criteria)
Some as long (number of records to return) and
Some as array (results from table searches)
This DLL works wonderfully from a front end written in VFP. However, when I try to call it from a Visual Basic front end I don't get the results I would expect. The parameters are passed successfully to the dll and the method executes correctly. I can verify this by looking at the temporary tables used to produce the results. The data contained in the variables in the VB program are not changed. It is as if they were passed by value, rather than by reference.
I am not a VB programmer by any stretch of the imagination and I am wondering if I am doing something wrong. Or maybe I have missed something in the VFP DLL? Can anyone help me with this?
Thanks,
Gwen
Some as type string (search criteria)
Some as long (number of records to return) and
Some as array (results from table searches)
This DLL works wonderfully from a front end written in VFP. However, when I try to call it from a Visual Basic front end I don't get the results I would expect. The parameters are passed successfully to the dll and the method executes correctly. I can verify this by looking at the temporary tables used to produce the results. The data contained in the variables in the VB program are not changed. It is as if they were passed by value, rather than by reference.
I am not a VB programmer by any stretch of the imagination and I am wondering if I am doing something wrong. Or maybe I have missed something in the VFP DLL? Can anyone help me with this?
Thanks,
Gwen