From: Rev. Bob 'Bob' Crispen (revbob_at_crispen.org)
Date: 26 April 2003
I found this posted to comp.os.ms-windows.programmer.misc by chris_doran_at_postmaster.co.uk (Chris Doran):
-= BEGIN forwarded message =-
Subject: Re: Question about porting serial-port code from Unix to Windows From: chris_doran_at_postmaster.co.uk (Chris Doran) Newsgroups: comp.os.ms-windows.programmer.misc,comp.os.ms-windows.programmer.win32,usgs.lang.c Organization: http://groups.google.com/
"James F. Cornwall" <JCornwall_must_remove_this_part_at_cox.net> wrote in message news:<3E9F107B.11FDD6A9_at_cox.net>...
> Hi all, I have a program that runs on a Sun workstation under Solaris,
> and I am interested in porting it to a PC. This same question was
> posted on comp.lang.c and was dismissed as off-topic over there, so I'll
> try it here.
>
> The main program is in Fortran 77, and it calls the subroutine functions
> below to open the serial port and read input strings from an old
> digitizer table. The digitizer tables are currently connected to the
> Unix serial ports, and we'd like to hook them up on a PC instead.
>
> I have a little experience in writing C, but I have not dealt with
> serial port communications much, and not at all under Windows. My
> question is: can the code below be used on a PC?
See my ancient post at
The Alan Denver article I refer to there has now moved to
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnfiles/html/msdn_serial.asp
The layout got a bit mangled in posting. E-mail me for an ungarbled copy if you wish. It works on NT and W2K, but I haven't tried it on XP.
Chris
-= END forwarded message =-
This archive was generated by hypermail pre-2.1.8 : 26 April 2003 EDT