TIP: Click on subject to list as thread! ANSI
echo: os2prog
to: Brandt Everett
from: Peter Schuller
date: 1996-07-24 11:32:52
subject: Modem and Direct Screen Writes

>> I got a "tip" on that, tryed that, but I didn't get it
to work, this is
 >> what did     HFILE hCom = 0L;    ULONG ulAction = 0;    ULONG
 >> ulBytesRead = 0;    ULONG ulWrote = 0;    ULONG ulLocal = 0;    APIRET
 >> rc = NO_ERROR;      rc = DosOpen (_argv[1], &hCom, &ulAction, 100L,
 BE>                     ^^^^^^^^
 BE>      At first guess I think your problem is here....argv is a string
 BE> so you are just passing the string....need to convert it to a int
 BE> before you pass it.

On the DosWrite yes, but what I wrote above itn's working, where I put
argv, that should have been the filename.

/ Peter Schuller   [TeamOS/2]   petersch{at}kuai.se

--- FleetStreet 1.16 NR
* Origin: Hedgehog BBS 25h/day +46-(0)18-367781 (2:206/139)
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: 206/139 0 201/505 0 200 2104 109/347 18 13/25 396/1 270/101 712/515
@PATH: 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™.