TIP: Click on subject to list as thread! ANSI
echo: os2prog
to: Peter Schuller
from: Mikko Hyvarinen
date: 1996-07-21 21:57:48
subject: Modem and Direct Screen Writes

Peter Schuller wrote in a message to Mikko Hyvarinen:

(cut)
 PS>    rc = DosOpen (_argv[1], &hCom, &ulAction, 100L,
 PS>       FILE_NORMAL,
 PS>       OPEN_ACTION_OPEN_IF_EXISTS,
 PS>       OPEN_ACCESS_READWRITE, 0L);

 PS> But it won't work, DosOpen return 12. Maximus passes on porthandle
 PS> "5" for COM2. Is there any specific "flag" i have to use?

Maximus has already opened the port. The handle it gives you is the one it
received from DosOpen. So, don't need to use DosOpen, you can start writing
to the port immediately with the handle you got from Maximus.

 MH> You can't find the VIO calls in the VAC++ documentation, they're
 MH> included in PRCP.ZIP that's floating around in the net.
 PS> I'll try to find that one... Thanx!

The sysop of  agreed to crash the file to your system. Should
be in your inbound before you get this message.

--- 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 624 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™.