
-Problem- 16 Bit Comm Port Access in Windows NT
Correction below.
Quote:
> >>We have a package originally developed to run on Windows 95 / Windows
3.1 /
> >>WfWg which communicated with external hardware via the PC's serial
ports.
> >>This has worked well in Win 3.11 / wfwg / 95 but attempting to use the
> >>software in NT causes problems.
> >NT does not allow win 3.1,dos and win 3.11 apps to have direct access to
> >the hardware. this is why dos games do not have sound in NT (eg. DOOM)
> >dos drivers and windows drivers are not allowed to have access to the
sound
> >card,com ports,the video card etc. there might be a library available to
allow
> This is not entirely true. I have several Win3.x apps that run perfectly
> under NT. Various communications programs can access COM ports, I have
> several Win3.x games that can use sound without any special drivers,
other
> than those that came with NT. Why don't we find out what kind of access
the
> program needs to have before writing it off completely.
Actually, what Matthew asserted is entirely true. Those Win3.x games are
using API's that are available on the NT WOW process. The COM ports are
virtualized well enough that many serial communication programs still run.
They are trying to access the serial port, but the attempt is trapped and
the OS figures out how to achieve the same effect as if the access had
been successful. But no hardware access is permitted to applications.
That said, it may indeed be too soon to write off using that package on NT.
--
-- Larry Brasfield
The aforementioned views are mine alone.