| TIP: Click on subject to list as thread! | ANSI |
| echo: | |
|---|---|
| to: | |
| from: | |
| date: | |
| subject: | OS/2 COMM ROUTINES |
EG> I didn't emxinp'd it (I have no idea what to do with that...) EG> Here is a little source which shows you the import of GIO2.DLL. It's EG> called GIO2DLL.C Thanks! That should certainly be helpful. In the meantime, I found a way to do import by including them in the .def file. Here's a couple of example .def files; ; os2term.def emx 0.8h def file NAME os2term NOTWINDOWCOMPAT NEWFILES DESCRIPTION 'TERM 0.0.1 by Phil Crown 1994' IMPORTS p_transfer = P.p_transfer STACKSIZE 0x50000 ; giovio2.def emx 0.8h def file NAME giovio2 NOTWINDOWCOMPAT NEWFILES DESCRIPTION 'OS/2 2.x 32-bit serial example' IMPORTS ComClose = GIO2.ComClose IMPORTS ComGetDCD = GIO2.ComGetDCD IMPORTS ComGetHandle = GIO2.ComGetHandle IMPORTS ComOpen = GIO2.ComOpen IMPORTS ComRX = GIO2.ComRX IMPORTS ComRXEmpty = GIO2.ComRXEmpty IMPORTS ComRXPurge = GIO2.ComRXPurge IMPORTS ComTXChar = GIO2.ComTXChar IMPORTS ComTXString = GIO2.ComTXString IMPORTS p_transfer = P.p_transfer STACKSIZE 0x50000 Add the .def file to your makefile, and create a prototype for each function in a header file. I haven't imported all the functions, but I add them as I need them. Phil --- Blue Wave/Max v2.12 OS/2 [NR]* Origin: * MacSavvy * Dallas * Mac * OS/2 * (214)250-4479 * (1:124/1208) 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: 124/1208 1111 1 396/1 3615/50 229/2 12/2442 711/409 54/54 711/808 809 @PATH: 711/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™.