Microsoft KB Archive/103278

From BetaArchive Wiki
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

Using FOPEN() on COM Port Does Not Set RTS or DTR Bits

ID: Q103278



The information in this article applies to:

  • Microsoft FoxPro for MS-DOS, versions 2.0, 2.5, 2.5a




SUMMARY

After you use the FOPEN() command to open a COM port, the Request to Send (RTS) and Data Terminal Ready (DTR) COM lines are not set ON.


MORE INFORMATION

FoxPro for MS-DOS does the equivalent of the COPY command to the serial port. RTS and DTR are used in serial communications for buffering I/O. FoxPro does not buffer I/O to COM ports. The section on FOPEN() in the version 2.0 "Commands & Functions" and version 2.5 "Language Reference" manuals suggests that communications ports always be opened unbuffered.

Additional query words: FoxDos

Keywords          : 
Version           : 
Platform          : 
Issue type        : 

Last Reviewed: August 19, 1999
© 1999 Microsoft Corporation. All rights reserved. Terms of Use.