TIP: Click on subject to list as thread! ANSI
echo: os2prog
to: Peter Fitzsimmons
from: Patrick Haller
date: 1994-11-20 20:33:04
subject: COMM.H

Hi Peter!

I've got several problems with you MAXCOMM.DLL (2.90.1). First of all - I
have not been able to find the COMM.H anywhere, second I use BCOS2 (will
buy CSet 3).
I've bound the DLL-exports statically into my EXE. ComHRegister, etc. seems
to run perfectly. But ComRxWait (re: ComGetc -> ComReads) seems to lock
up when being run as a BBS door under Maximus/2 2.02. Even stdin is blocked
by Maximus - I've had that effect when I logged in locally to thest the
door. No way to "gets()" :( Output runs flawlessly.
Please, give me any hint that I can go on with programming my little door.

APIRET PASCAL16 ComHRegister (USHORT, SHANDLE _far16 *,USHORT,USHORT);              
APIRET PASCAL16 ComPutc      (USHORT, UCHAR);                                   
APIRET PASCAL16 ComRxWait    (USHORT, USHORT);                                  
:

typedef SHANDLE  HCOMM;      
static  HCOMM    hcomm;      

ComHRegister (atoi(&argv[i][2]), (SHANDLE _far16 *) &hcomm, 0, 0);
              ^^^ port number

BTW: Do you know about the current state of Max 3 ?

     __      2:246/2320.18{at}Fidonet
     |_)     81:449/8810.18{at}OS2Net
cu/2 |atrick Haller{at}ti-nov1.fbe.fh-weingarten.de

--- FleetStreet 0.96wb


* Origin: OS/2 Bodensee ! (2:246/2320.18)
SEEN-BY: 12/2442 54/54 620/243 624/50 632/348 640/820 690/660 711/409 410 413
SEEN-BY: 711/430 807 808 809 934 942 949 712/353 623 713/888 800/1
@PATH: 246/2320 2300 2200 2426/2001 2030 270/101 396/1 3615/50
@PATH: 229/2 12/2442 711/409 54/54 711/808 809 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™.