Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Com port
Message
From
04/08/2001 14:09:29
 
General information
Forum:
Visual FoxPro
Category:
FoxPro 2.x
Title:
Miscellaneous
Thread ID:
00539753
Message ID:
00539805
Views:
11
>>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.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform