TIP: Click on subject to list as thread! ANSI
echo: os2prog
to: Charles Gaefke
from: Mikko Hyvarinen
date: 1996-07-13 10:19:58
subject: COMM routines

Charles Gaefke wrote in a message to All:

 CG>     First off, I've heard that native OS/2 software does not need a
 CG> fossil  driver.. is this true? 

Fossils are, as the name implies, a thing of the past ;) There is no such
thing as an OS/2 Fossil driver, and OS/2 software doesn't need one. 

 CG>  Either way, where can I find info on how to A) make my own 
 CG> routines and/or B) use fossil routines? 

Programming the COM ports is actually very easy under OS/2. Just open the
port with DosOpen (filename 'COMx'), change the parameters with DosDevIOCtl
(category IOCTL_ASYNC), create a send thread and a receive thread, and when
you're done, close the port with DosClose.

All these functions are documented in the Control Program Reference, which
was shipped with your compiler. If it was not, look for PRCP.ZIP on your
local programming boards. 

--- timEd/2 1.10+
* Origin: Uko (2:229/0)
SEEN-BY: 50/99 270/101 620/243 625/100 711/401 409 410 413 430 808 809 934
SEEN-BY: 711/955 712/407 515 517 628 713/888 800/1
@PATH: 229/0 270/101 712/515 711/808 934

SOURCE: echomail via fidonet.ozzmosis.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.