Solved

Unbuffred serial Communication with Win32

Posted on 1997-10-21
2
193 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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

This article shows how to make a Windows 7 gadget that extends its U/I with a flyout panel -- a window that pops out next to the gadget.  The example gadget shows several additional techniques:  How to automatically resize a gadget or flyout panel t…
A theme is a collection of property settings that allow you to define the look of pages and controls, and then apply the look consistently across pages in an application. Themes can be made up of a set of elements: skins, style sheets, images, and o…
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…
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…

760 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

Need Help in Real-Time?

Connect with top rated Experts

23 Experts available now in Live!

Get 1:1 Help Now