>>You mean that I can pass only one NTS from C to Fox?
>
>And, to respond to your question :) : You can returne from C and of the primitive types accepted by VFP. To return a string:
>
>
char* myfunc()
>{
> //-- It's important to allocate the string dynamically
> char* mystring = malloc(100);
>
> // do something with mystring
>
> return mystring;
>}
>You just can't returned a structure as a string (because of that chr(0)).
>
>Vlad
Thank you. You guys are real encyclopaedias of C.
You've all been very helpful as usual and thanks to you, I know a little more now.
Alexandre Nobre
Alpha Bytes Computer Corp.
Did you know that there are innocent people dying in East Timor?
It helps if you do...
I suppose you don't need glasses if you're able to read this line