Solved

MSWIN Serial Port Driver

Posted on 1997-03-25
2
245 Views
Last Modified: 2010-04-10
We want to use a serial port in a "real time" application under Win3.1x and Win95.
We need advice to use COM.DRV or another driver which will allow us:
a) to work at 115kbps or 230kbps.
b) to get, together with a character received, the status of several control signals (ie CD, CTS etc...) DURING this character reception.
without a polling loop.

Thanks & regards
Claude Roizin
0
Comment
Question by:klode
  • 2
2 Comments
 

Accepted Solution

by:
clausc earned 200 total points
ID: 1162443
Pacific Commware had a series of parallel port hardware including drivers for Win95 which allow speeds up to 921kbps. They provide Win95 driver that let your application set the baudrate to more than just 115.2kbps so this might be a solution for your a) question.
Regarding b): I think you have two options:
1. You could write your own serial driver. Not pretty, but not that hard to do if you have MSDN Library including the DDK. Microsofts Device Driver Kit includes the sample for the vcd.vxd and also the serial.vxd port driver. Using these you could do it or
2. Bypass the device driver by inserting your own VXD only for this purpose (might be easier because you don't need to watch out for all the problems related to a full-featured serial driver).

Hope this helps,
Claus
0
 

Expert Comment

by:clausc
ID: 1162444
Yes I could, I did write a serial port driver before for one client, so I could change it to support your needs. But this also poses one small problem: I can't deliver competitors with the same code (would be unprofessional, would'nt it?), so I need to know some more details about your application.
From what you wrote in your question I currently see no conflict.
Please contact me via email: ClausChristensen@msn.com.

Thanks,
- Claus

0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone 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

Written by John Humphreys C++ Threading and the POSIX Library This article will cover the basic information that you need to know in order to make use of the POSIX threading library available for C and C++ on UNIX and most Linux systems.   [s…
  Included as part of the C++ Standard Template Library (STL) is a collection of generic containers. Each of these containers serves a different purpose and has different pros and cons. It is often difficult to decide which container to use and …
The goal of the video will be to teach the user the difference and consequence of passing data by value vs passing data by reference in C++. An example of passing data by value as well as an example of passing data by reference will be be given. Bot…
The viewer will learn how to user default arguments when defining functions. This method of defining functions will be contrasted with the non-default-argument of defining functions.

679 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