It seems to me that you should talk to the programmer who created this DLL to find out exactly what type of parameters his/her DLL expects in C/C++ terms and than we can try to translate it into VFP DECLARE.
>I am using VFP6SP5 on a NT4.0 machine.
>
>I am calling a DLL created by another programmer in my company. The DLL function that I call modifies one of the strings that I pass to it by reference. As soon as it does the modification, I get the C0000005 error. I have padr() with " " to the lentgh needed and one beyond, trying to stop this error, but it does not work at the moment.
> I did a search both in FAQ and these threads back to the first of the year (maybe I should go back farther) and could not find anything like this. I found one thread close, but it had to do with an object, not a DLL call.
--sb--