Dismiss
InnovationQ will be updated on Sunday, Oct. 22, from 10am ET - noon. You may experience brief service interruptions during that time.
Browse Prior Art Database

LAN Server 2.0 Support for 32-Bit Applications

IP.com Disclosure Number: IPCOM000104659D
Original Publication Date: 1993-May-01
Included in the Prior Art Database: 2005-Mar-19
Document File: 2 page(s) / 52K

Publishing Venue

IBM

Related People

Herrick, TR: AUTHOR [+5]

Abstract

A 32-bit application program developed using the IBM C Set/2 compiler could not directly call the 16-bit Lan Server APIs. The header files installed by the Lan Server 2.0 installation program were modified as described below to enable 32-bit applications to directly call the Lan server APIs. To provide support for application programs developed using the IBM C Set/2 compiler, the Lan Server header files installed in \IBMLAN\NETSRC\H and the User Profile Management (UPM) header file \MUGLIB\UPM.H need to be modified. These files were modified in such a way that the same header files can be included by both the 16-bit applications and 32-bit applications. This is done by defining constants for some keywords like 'far', 'pascal', etc. that are not recognized by the 32-bit compiler.

This text was extracted from an ASCII text file.
This is the abbreviated version, containing approximately 53% of the total text.

LAN Server 2.0 Support for 32-Bit Applications

      A 32-bit application program developed using the IBM C Set/2
compiler could not directly call the 16-bit Lan Server APIs.  The
header files installed by the Lan Server 2.0 installation program
were modified as described below to enable 32-bit applications to
directly call the Lan server APIs.  To provide support for
application programs developed using the IBM C Set/2 compiler, the
Lan Server header files installed in \IBMLAN\NETSRC\H and the User
Profile Management (UPM) header file \MUGLIB\UPM.H need to be
modified.  These files were modified in such a way that the same
header files can be included by both the 16-bit applications and
32-bit applications.  This is done by defining constants for some
keywords like 'far', 'pascal', etc. that are not recognized by the
32-bit compiler.  All the 16-bit keywords in the Lan Server header
files that are not recognized by the 32-bit compiler will be replaced
by the new constants described below.  The compiler does the proper
substitutions for 16-bit and 32-bit applications.  In addition to
these constants, for a 32-bit application, the header files also
define the proper #pragma directives to pack the structures and
define the 16-bit APIs as required by the 32-bit compiler.  All these
changes will make the interface between a 32-bit application and a
16-bit Lan API completely transparent to the 32-bit application.
This means that a 32-bit application compiled using IB...