Solved

MSWIN Serial Port Driver

Posted on 1997-03-25
2
224 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
Comment Utility
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
Comment Utility
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

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

Introduction This article is a continuation of the C/C++ Visual Studio Express debugger series. Part 1 provided a quick start guide in using the debugger. Part 2 focused on additional topics in breakpoints. As your assignments become a little more …
This article shows you how to optimize memory allocations in C++ using placement new. Applicable especially to usecases dealing with creation of large number of objects. A brief on problem: Lets take example problem for simplicity: - I have a G…
The viewer will learn how to use the return statement in functions in C++. The video will also teach the user how to pass data to a function and have the function return data back for further processing.
The viewer will learn additional member functions of the vector class. Specifically, the capacity and swap member functions will be introduced.

771 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

10 Experts available now in Live!

Get 1:1 Help Now