>Hi George,
>
>>The reason I suggested a STRING is that a normal (not Unicode) one character string contains 8 bits which is the size of a BYTE. However, VFP may include a null terminator on the string (CHR(0)) which may be causing the problems you're seeing.
>
>But a string is always passed as a pointer? How should an additional byte at the memory address cause a GPF?
>
>Christof
It shouldn't. That was my point. The DLL is going to going to move one byte. However, you or VFP evaluate it on return, is another matter.
George
Ubi caritas et amor, deus ibi est