Click here to Skip to main content
15,898,893 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralSerial Port Question Pin
Tom Wright9-Aug-04 5:52
Tom Wright9-Aug-04 5:52 
GeneralRe: Serial Port Question Pin
palbano9-Aug-04 9:40
palbano9-Aug-04 9:40 
GeneralRe: Serial Port Question Pin
Tom Wright9-Aug-04 10:21
Tom Wright9-Aug-04 10:21 
GeneralRe: Serial Port Question Pin
palbano9-Aug-04 18:01
palbano9-Aug-04 18:01 
GeneralRe: Serial Port Question Pin
shultas9-Aug-04 15:26
shultas9-Aug-04 15:26 
GeneralRe: Serial Port Question Pin
Tom Wright10-Aug-04 3:43
Tom Wright10-Aug-04 3:43 
GeneralRe: Serial Port Question Pin
shultas10-Aug-04 5:46
shultas10-Aug-04 5:46 
GeneralRe: Serial Port Question Pin
shultas10-Aug-04 5:50
shultas10-Aug-04 5:50 
Here's a little chunk of code that may help you with the various forms of Flow Control ... Knowing what to set for each mode of flow control.

case NoFlowControl:
{
dcb.fOutxCtsFlow = FALSE;
dcb.fOutxDsrFlow = FALSE;
dcb.fOutX = FALSE;
dcb.fInX = FALSE;
break;
}
case CtsRtsFlowControl:
{
dcb.fOutxCtsFlow = TRUE;
dcb.fOutxDsrFlow = FALSE;
dcb.fRtsControl = RTS_CONTROL_HANDSHAKE;
dcb.fOutX = FALSE;
dcb.fInX = FALSE;
break;
}
case CtsDtrFlowControl:
{
dcb.fOutxCtsFlow = TRUE;
dcb.fOutxDsrFlow = FALSE;
dcb.fDtrControl = DTR_CONTROL_HANDSHAKE;
dcb.fOutX = FALSE;
dcb.fInX = FALSE;
break;
}
case DsrRtsFlowControl:
{
dcb.fOutxCtsFlow = FALSE;
dcb.fOutxDsrFlow = TRUE;
dcb.fRtsControl = RTS_CONTROL_HANDSHAKE;
dcb.fOutX = FALSE;
dcb.fInX = FALSE;
break;
}
case DsrDtrFlowControl:
{
dcb.fOutxCtsFlow = FALSE;
dcb.fOutxDsrFlow = TRUE;
dcb.fDtrControl = DTR_CONTROL_HANDSHAKE;
dcb.fOutX = FALSE;
dcb.fInX = FALSE;
break;
}
case XonXoffFlowControl:
{
dcb.fOutxCtsFlow = FALSE;
dcb.fOutxDsrFlow = FALSE;
dcb.fOutX = TRUE;
dcb.fInX = TRUE;
dcb.XonChar = 0x11;
dcb.XoffChar = 0x13;
dcb.XoffLim = 100;
dcb.XonLim = 100;
break;
}
GeneralAutomation +Get the active projet of visual studio .net Pin
nicgendron9-Aug-04 5:45
nicgendron9-Aug-04 5:45 
GeneralMFC / VisualC++ 7.0 / accelerators problem Pin
Member 130853379-Aug-04 5:28
Member 130853379-Aug-04 5:28 
GeneralColoring Text Pin
act_x9-Aug-04 5:22
act_x9-Aug-04 5:22 
GeneralRe: Coloring Text Pin
John R. Shaw9-Aug-04 5:52
John R. Shaw9-Aug-04 5:52 
GeneralRe: Coloring Text Pin
act_x9-Aug-04 5:54
act_x9-Aug-04 5:54 
GeneralHtmlHelp inside DLLs Pin
brdavid9-Aug-04 5:17
brdavid9-Aug-04 5:17 
GeneralRe: HtmlHelp inside DLLs Pin
Blake Miller9-Aug-04 8:15
Blake Miller9-Aug-04 8:15 
GeneralRe: HtmlHelp inside DLLs Pin
brdavid9-Aug-04 10:30
brdavid9-Aug-04 10:30 
GeneralRe: HtmlHelp inside DLLs Pin
Blake Miller10-Aug-04 5:08
Blake Miller10-Aug-04 5:08 
GeneralRe: HtmlHelp inside DLLs Pin
brdavid10-Aug-04 6:33
brdavid10-Aug-04 6:33 
GeneralCustom Appwizard in VC.Net Pin
BlackDice9-Aug-04 4:40
BlackDice9-Aug-04 4:40 
GeneralSQL Server Connection String Pin
shultas9-Aug-04 4:27
shultas9-Aug-04 4:27 
GeneralCPU usage going to 100% full from running a DDE using VC++ Pin
swerajan9-Aug-04 3:53
swerajan9-Aug-04 3:53 
GeneralRe: CPU usage going to 100% full from running a DDE using VC++ Pin
David Crow9-Aug-04 4:00
David Crow9-Aug-04 4:00 
GeneralRe: CPU usage going to 100% full from running a DDE using VC++ Pin
swerajan9-Aug-04 4:03
swerajan9-Aug-04 4:03 
QuestionHow do I read .cda file from a CD? /w Win 32 API Pin
Link26009-Aug-04 3:34
Link26009-Aug-04 3:34 
Generalselection problem --- Pin
nainakhawaja9-Aug-04 2:35
nainakhawaja9-Aug-04 2:35 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.