Newsgroups: comp.windows.ms.programmer
Path: funic!news.funet.fi!sunic!psinntp!psinntp!rpi!gatech!psuvax1!news.ecn.bgu.edu!news.ils.nwu.edu!news.acns.nwu.edu!casbah.acns.nwu.edu!schoi
From: schoi@casbah.acns.nwu.edu (Scott Choi)
Subject: COM1 port communication
Message-ID: <1993Jan28.203330.2041@news.acns.nwu.edu>
Sender: usenet@news.acns.nwu.edu (Usenet on news.acns)
Nntp-Posting-Host: unseen1.acns.nwu.edu
Organization: Northwestern University, Evanston Illinois.
Date: Thu, 28 Jan 1993 20:33:30 GMT
Lines: 19

Greetings, 

I am trying to write a string size of 0x7FFF to COM1 using RTS and CTS. The
following sequence does not do the trick since I have set some variables
within struct DCB to activate RTS and CTS usage.  Does anyone know this
trick?

idComDev = OpenComm("COM1", 1024U, 0x7FFFU);
BuildCommDCB("COM1:9600,n,8,1", &dcb); 
dcb.CtsTimeout = 10;
dcb.fRtsDisable = 0;
WriteComm(idComDev, p, 0x7FFFU); 

By the way, OpenComm() has UINT for the transmission queue size but only
works up to 0x7FFF!

Thank you.  

Scott
