Solved

Unbuffred serial Communication with Win32

Posted on 1997-10-21
2
206 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

MS Dynamics Made Instantly Simpler

Make Your Microsoft Dynamics Investment Count  & Drastically Decrease Training Time by Providing Intuitive Step-By-Step WalkThru Tutorials.

Question has a verified solution.

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

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…
For most people, the WrapPanel seems like a magic when they switch from WinForms to WPF. Most of us will think that the code that is used to write a control like that would be difficult. However, most of the work is done by the WPF engine, and the W…
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…
If you’ve ever visited a web page and noticed a cool font that you really liked the look of, but couldn’t figure out which font it was so that you could use it for your own work, then this video is for you! In this Micro Tutorial, you'll learn yo…

696 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