Thread View: borland.public.cppbuilder.nativeapi
5 messages
5 total messages
Started by Luiz Rafael Culik Guimaraes
Thu, 06 Mar 2003 00:04
Help with comm functions need
Author: Luiz Rafael Culik Guimaraes
Date: Thu, 06 Mar 2003 00:04
Date: Thu, 06 Mar 2003 00:04
14 lines
1186 bytes
1186 bytes
Dear Friends I need your help I need to determine the follow If Current open Port is set on Xon/Xoff and change this as well If Current open Port is Set on Hardware(I think is RTS_CTS) and change this as well I�ve tryed to call the SetComState() with out success Regards Luiz Rafael
Re: Help with comm functions need
Author: Luiz Rafael Culik Guimaraes
Date: Thu, 06 Mar 2003 01:15
Date: Thu, 06 Mar 2003 01:15
12 lines
1432 bytes
1432 bytes
Remy > SetComState() is what you need to use. Did you call GetComState() before > calling SetComState()? What is the actual problem you're having? Just > saying "it doesn't work" says nothing at all about the actual symptoms > you're experiencing. Please be more specific. Yes i Called the GetCommState() function. The problem is that on DCB structure, I don�t know whict members is where i need to get the values for Xon/Xoff and HARDWARE(RTS_CTS) Regards Luiz
Re: Help with comm functions need
Author: Remy Lebeau (TeamB)
Date: Thu, 06 Mar 2003 03:48
Date: Thu, 06 Mar 2003 03:48
12 lines
1393 bytes
1393 bytes
SetComState() is what you need to use. Did you call GetComState() before calling SetComState()? What is the actual problem you're having? Just saying "it doesn't work" says nothing at all about the actual symptoms you're experiencing. Please be more specific. Gambit "Luiz Rafael Culik Guimaraes" <culikr@uol.com.br> wrote in message news:3e66ba98@newsgroups.borland.com... > I�ve tryed to call the SetComState() with out success
Re: Help with comm functions need
Author: Remy Lebeau (TeamB)
Date: Thu, 06 Mar 2003 06:26
Date: Thu, 06 Mar 2003 06:26
20 lines
1743 bytes
1743 bytes
If you read the documentation for DCB, you might notice the following
members, amongst others:
DWORD fOutxCtsFlow:1; // CTS output flow control
DWORD fOutxDsrFlow:1; // DSR output flow control
DWORD fDtrControl:2; // DTR flow control type
DWORD fOutX: 1; // XON/XOFF out flow control
DWORD fInX: 1; // XON/XOFF in flow control
DWORD fRtsControl:2; // RTS flow control
Gambit
"Luiz Rafael Culik Guimaraes" <culikr@uol.com.br> wrote in message
news:3e66cb55@newsgroups.borland.com...
> Yes i Called the GetCommState() function.
> The problem is that on DCB structure, I don�t know
> whict members is where i need to get the values for
> Xon/Xoff and HARDWARE(RTS_CTS)
Re: Help with comm functions need
Author: Luiz Rafael Culik Guimaraes
Date: Thu, 06 Mar 2003 08:45
Date: Thu, 06 Mar 2003 08:45
14 lines
1559 bytes
1559 bytes
Remy > If you read the documentation for DCB, you might notice the following > members, amongst others: > > DWORD fOutxCtsFlow:1; // CTS output flow control > DWORD fOutxDsrFlow:1; // DSR output flow control > DWORD fDtrControl:2; // DTR flow control type > DWORD fOutX: 1; // XON/XOFF out flow control > DWORD fInX: 1; // XON/XOFF in flow control > DWORD fRtsControl:2; // RTS flow control I�ve notice this, So this are the items i need to get Regards Luiz
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads