>Luis,
>
>I think you are having problems with another MS "by design" bug. Set the nulldiscard property to True. What is happening is you are not receiving all the characters in the buffer. This should correct it.
Thanks Paul,
I did that and didn't work. I could ignore the data that I am
receiving, because I could blindly send the characters that I need,
but it doesn't seems to receive it. The strange thing is that
from the command line works!!, but when I call the function from
any application with exactly the same parameters as I do from
the command line it does not. I tried to use "Procomm Plus" and it worked fine,
I think I am going that way, I was hoping to do this in
native FoxPro, but you have to do what you have to do to make things
work.
Thanks to you all for your help.
Luis Guzman, MCP
"The only glory most of us have to hope for
is the glory of being normal." Katherine Fulleton Gerould