[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

Unbuffred serial Communication with Win32

Posted on 1997-10-21
2
Medium Priority
?
219 Views
Last Modified: 2013-12-03
I am trying to set the parity bit to define if it is a data or control byte to rx or tx. What goes wrong is that the buffering makes it impossible. When I change parity it will not affect the bytes because they are in a buffer. How can I do unbuffred serial communication in VC++ 5.0 ?
0
Comment
Question by:kalleballe
2 Comments
 
LVL 3

Accepted Solution

by:
vinniew earned 50 total points
ID: 1407727
You're not asking for much are you?

You need to go lower level than the Win32 API's to do that.

You'll have to access the comm.drv driver directly.  I think that there are examples in the DDK.

V

0
 

Author Comment

by:kalleballe
ID: 1407728
No problem to bypass the problem by accessing the registers directly (by using Tinyport in NT). But I thought this ordernary task was possible using API function calls.
0

Featured Post

Nothing ever in the clear!

This technical paper will help you implement VMware’s VM encryption as well as implement Veeam encryption which together will achieve the nothing ever in the clear goal. If a bad guy steals VMs, backups or traffic they get nothing.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article describes how to programmatically preset the "Pages per Sheet" option that's available with most printer drivers.   This setting lets you do "n-Up" printing, where two, four, or more pages are printed on each sheet of paper. If your …
After several hours of googling I could not gather any information on this topic. There are several ways of controlling the USB port connected to any storage device. The best example of that is by changing the registry value of "HKEY_LOCAL_MACHINE\S…
This is Part 3 in a 3-part series on Experts Exchange to discuss error handling in VBA code written for Excel. Part 1 of this series discussed basic error handling code using VBA. http://www.experts-exchange.com/videos/1478/Excel-Error-Handlin…
This video shows how to quickly and easily deploy an email signature for all users in Office 365 and prevent it from being added to replies and forwards. (the resulting signature is applied on the server level in Exchange Online) The email signat…

834 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question