PRODUCT : Borland C++ NUMBER : 1337 VERSION : 1.x OS : OS2 DATE : October 26, 1993 PAGE : 1/2 TITLE : Data Segment attributes in an OS/2 .DEF file. DATA SEGMENT ATTRIBUTES IN A OS/2 2.0 DEFINITION FILE ===================================================== The DATA directive used in an OS/2 2.0 definition file uses the following syntax: DATA [SHARED|NONSHARED] | [NONE|SINGLE|MULTIPLE] Let's looks at the various attributes: SHARED One copy of the data segment is loaded and shared among all processes accessing the module. NONSHARED The segment is not shared and a separate instance of the data segment will be loaded for each process. NOTE: *** data segment must be READWRITE *** NONE No data segment is created. SINGLE A single automatic data segment is shared by all instances of a module (solo data). MULTIPLE A new, seperate, automatic data segment is created for each instance of a module (instance data). If no MODULE DEFINITION file ( .DEF ) is supplied when using the Borland C++ Tools under OS/2 2.0, the following default attributes are used by the linker: - Dynamic Link Library ( .DLL ) DATA: SHARED SINGLE - Executable ( .EXE ): NONSHARED MULTIPLE PRODUCT : Borland C++ NUMBER : 1337 VERSION : 1.x OS : OS2 DATE : October 26, 1993 PAGE : 2/2 TITLE : Data Segment attributes in an OS/2 .DEF file. DISCLAIMER: You have the right to use this technical information subject to the terms of the No-Nonsense License Statement that you received with the Borland product to which this information pertains.