Article View: comp.os.os2.programmer
Article #3057Re: ASK: How to send a c
From: John Cocula
Date: Thu, 12 Nov 1992 16:53
Date: Thu, 12 Nov 1992 16:53
17 lines
877 bytes
877 bytes
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 *
Technical Details
Message-ID:
<721598425.AA00000@blkcat.UUCP>Path:
arc1-ca.pugleaf.net!sparky!uunet!blkcat!UucpShow Full Headers
Complete Article Headers
From: John.Cocula@f347.n109.z1.fidonet.org (John Cocula) Sender: Uucp@blkcat.UUCP Path: arc1-ca.pugleaf.net!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