🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.os2.programmer
Article #1467

Re: Question: DOSCALLS.LIB and OS2.LIB

#1467
From: Kai-Uwe Rommel
Date: Tue, 28 Aug 1990 17:21
27 lines
1793 bytes
In article <1312@dialogic.UUCP> gerry@dialogic.dialogic.com (Gerry Lachac) writes:
>Now, being new to OS/2, I have a 1.2 development system and couldn't
>find OS2.LIB on it.  I found it on an older development machine, and
>examined it.  It seemed to be DOSCALLS.LIB with a different name and a
>different size.  Is this assumption correct?  Linking with either library
>produced a binary that ran and was also the same size (of course, this
>could be just coincidence).
>
>-gerry

DOSCALLS.LIB and OS2.LIB are import libraries for the DLL's of the OS/2
system. They resolve all references to system calls and place dynamic
link records into the executable which are detected by the loader and
replaces by addresses of the actual loaded DLL entries. The difference
between these two libraries is, that DOSCALLS.LIB does originally only
include definitions for the base system of OS/2 without the Presentation
Manager where OS2.LIB contains definitions for all system calls.
When linking base applications (VIO programs), it makes no difference
(except speed at link time ?) which library you use.

Kai Uwe Rommel

--
/* Kai Uwe Rommel
 * Munich
 * rommel@lan.informatik.tu-muenchen.dbp.de
 */
Technical Details
Message-ID: <4167@tuminfo1.lan.informatik.tu-muenchen.dbp.de>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uunet!mcsun!unido!fauern!tumuc!lan!rommel
References: <1312@dialogic.UUCP>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uunet!mcsun!unido!fauern!tumuc!lan!rommel
From: rommel@lan.informatik.tu-muenchen.dbp.de (Kai-Uwe Rommel)
Newsgroups: comp.os.os2.programmer
Subject: Re: Question: DOSCALLS.LIB and OS2.LIB
Message-ID: <4167@tuminfo1.lan.informatik.tu-muenchen.dbp.de>
Date: 28 Aug 90 17:21:38 GMT
References: <1312@dialogic.UUCP>
Sender: news@lan.informatik.tu-muenchen.dbp.de
Reply-To: rommel@lan.informatik.tu-muenchen.dbp.de (Kai-Uwe Rommel)
Organization: Inst. fuer Informatik, TU Muenchen, W. Germany
Lines: 27