KnowledgeBase Archive

An Archive of Early Microsoft KnowledgeBase Articles

View on GitHub

Q37641: Different OS/2 Libraries: DOSCALLS.LIB OS2.LIB API.LIB

Article: Q37641
Product(s): See article
Version(s): 5.10   | 5.10
Operating System(s): MS-DOS | OS/2
Keyword(s): ENDUSER | | mspl13_c
Last Modified: 17-JAN-1989

Question:

What are the differences between DOSCALLS.LIB, OS2.LIB, and API.LIB?

Response:

DOSCALLS.LIB has the OS/2 Version 1.00 systems calls in it.

OS2.LIB is a superset of DOSCALLS.LIB, this library came with the
OS/2 SDK not with the retail version of C 5.1. It has the OS/2
Version 1.10 systems calls in it (PM calls have been added to the
OS/2 Version 1.00 calls).

API.LIB is the library used for programs that are going to be bound to
run in both OS/2 and DOS. They are the FAPI ( Family API) routines.

You can use OS2.LIB in place of DOSCALLS.LIB because it contains all
of the routines. Only use API.LIB if you are binding.

THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Copyright Microsoft Corporation 1986-2002.