Article View: comp.os.os2.programmer.misc
Article #265Re: HELP!!!: Doing INs and OUTs under OS/2 with BCC
From: David Charlap
Date: Tue, 06 Jul 1993 20:45
Date: Tue, 06 Jul 1993 20:45
27 lines
2161 bytes
2161 bytes
In article <16C02748F.CSCHUBER@bcsc02.gov.bc.ca> CSCHUBER@bcsc02.gov.bc.ca writes: > >I've been having the same problem. I don't have the answer for you but >hopefully I can add to the problem description. I've created a DLL, actually >written by Michael Thompson (tommy@msc.cornell.edu). The .DEF file contains >LIBRARY PORTIO >CODE PRELOAD EXECUTEONLY IOPL >SEGMENTS _TEXT CLASS 'CODE' IOPL PRELOAD EXECUTEONLYSEGMENTS P@IOCODE CLASS 'COD >EXPORTS > @inp > @outp > @inpw > @outpw > >When dynmamically linking I get a Priviledged Operation Exception. When >statically linking, the OS/2 loader complains that the EXE file is not an >OS/2 executable. (If I omit the SEGMENTS statements, TLINK aborts with a >"general error"). According to EXEHDR the EXE and DLL files look OK. I don't know the solution, but check out the file xlibos2.zip on ftp-os2. It does port I/O pas part of it's code to set display mode-X. Source code is included in the zip file. -- +--------------------------+------------------------------------+ | David Charlap, TEAM-OS/2 | OS/2 2.1. Not just up and coming. | | dic5340@hertz.njit.edu | Up and running. | +--------------------------+------------------------------------+
Technical Details
Message-ID:
<1993Jul6.204510.10609@njitgw.njit.edu>Path:
arc1-ca.pugleaf.net!gmd.de!newsserver.jvnc.net!howland.reston.ans.net!darwin.sura.net!news-feed-2.peachnet.edu!concert!rutgers!njitgw.njit.edu!hertz.njit.edu!dic5340References:
<1993Jul2.165507@mantrasun2.epfl.ch> <16C02748F.CSCHUBER@bcsc02.gov.bc.ca>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10cd94,a442a22b1f775864 X-Google-Attributes: gid10cd94,public X-Google-Thread: 11307a,84a9ad67f9ec3d31 X-Google-Attributes: gid11307a,public X-Google-ArrivalTime: 1993-07-06 14:04:54 PST Path: arc1-ca.pugleaf.net!gmd.de!newsserver.jvnc.net!howland.reston.ans.net!darwin.sura.net!news-feed-2.peachnet.edu!concert!rutgers!njitgw.njit.edu!hertz.njit.edu!dic5340 From: dic5340@hertz.njit.edu (David Charlap) Newsgroups: comp.os.os2.programmer.misc,bit.listserv.os2-l Subject: Re: HELP!!!: Doing INs and OUTs under OS/2 with BCC Keywords: os/2, asm Message-ID: <1993Jul6.204510.10609@njitgw.njit.edu> Date: 6 Jul 93 20:45:10 GMT References: <1993Jul2.165507@mantrasun2.epfl.ch> <16C02748F.CSCHUBER@bcsc02.gov.bc.ca> Sender: news@njit.edu Organization: New Jersey Institute of Technology, Newark, New Jersey Lines: 27 Nntp-Posting-Host: hertz.njit.edu