| TIP: Click on subject to list as thread! | ANSI |
| echo: | |
|---|---|
| to: | |
| from: | |
| date: | |
| subject: | Modem and Direct Screen Writes |
RE: Modem and Direct Screen Writes
BY: Peter Schuller to Mikko Hyvarinen on Thu Jul 18 1996 10:45:32
> 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,
^^^^^^^^
At first guess I think your problem is here....argv is a string so you are
just passing the string....need to convert it to a int before you pass it.
But again that is just a guess.
> FILE_NORMAL,
> OPEN_ACTION_OPEN_IF_EXISTS,
> OPEN_ACCESS_READWRITE, 0L);
>
>
> But it won't work, DosOpen return 12. Maximus passes on porthandle
"5" for
> COM2. Is there any specific "flag" i have to use?
>
___SyncEdit v2.1.0 [NR]
--- Synchronet+SBBSecho v1.21á
* Origin: Sierra Hotel -- Beyond G-LOC 509.882.1417 (1:3407/18)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: 3407/18 3615/50 396/1 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™.