[2 days left] What’s wrong with your cloud strategy? Learn why multicloud solutions matter with Nimble Storage.Register Now

x
?
Solved

Unbuffred serial Communication with Win32

Posted on 1997-10-21
2
Medium Priority
?
216 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

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

zlib is a free compression library (a DLL) on which the popular gzip utility is built.  In this article, we'll see how to use the zlib functions to compress and decompress data in memory; that is, without needing to use a temporary file.  We'll be c…
Whether you've completed a degree in computer sciences or you're a self-taught programmer, writing your first lines of code in the real world is always a challenge. Here are some of the most common pitfalls for new programmers.
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…
In this video, Percona Solution Engineer Dimitri Vanoverbeke discusses why you want to use at least three nodes in a database cluster. To discuss how Percona Consulting can help with your design and architecture needs for your database and infras…

656 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