>>>You dont need to open it just use fread() and fwrite() to communicate to com port.
>>>Rajesh
>>
>>The fread() and fwrite() functions doesn't work with commports only with files. You have to open comport with fopen to get the file handle. After that you can use Fgets() and FPUTS() to work with commport. However you can use low-level function to acces comport only in Foxpro for DOS.
>
>Incorrect. FREAD/FWRITE work just fine on comm ports. Check the Foxpro DOS manual.
Yes, you're right.
--sb--