home *** CD-ROM | disk | FTP | other *** search
- From: John.Cocula@f347.n109.z1.fidonet.org (John Cocula)
- Sender: Uucp@blkcat.UUCP
- Path: sparky!uunet!blkcat!Uucp
- Newsgroups: comp.os.os2.programmer
- Subject: Re: ASK: How to send a c
- Message-ID: <721598425.AA00000@blkcat.UUCP>
- Date: Thu, 12 Nov 1992 11:53:02 -0500
- Lines: 17
-
- In a message to All <11-11-92 21:13>, tranx writes:
-
- tA> A: I tried to write a program to communicate with my instrument through
- tA> a serial port(eg. COM1). I have C Set/ 2 and Work Frame but I couldn't
- tA> find a system call that allows me to "open COM1: for example" and
- tA> return
- tA> a handle. So that I can use this handle to send a character to this
- tA> serial
- tA> port. Would you like to help me out?
-
- Use the DosOpen call with a "file" name of "COM1".
- You can also issue DosDevIOCtl calls to set baud rate, parity,
- etc.
-
-
- ___
- * PMQWK 1.00b5 *
-