>>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.
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement