home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 10 Tools
/
10-Tools.zip
/
VSCPPv8.zip
/
VACPP
/
IBMCPP
/
samples
/
COMPILER
/
SAMPLE05
/
DLL
/
SAMPLE05.DEF
< prev
next >
Wrap
Text File
|
1993-03-15
|
2KB
|
40 lines
;******************************************************************************
;* *
;* SAMPLE05: Module definition file for SAMPLE05.DLL *
;* *
;* COPYRIGHT: *
;* ---------- *
;* Copyright (C) International Business Machines Corp., 1991, 1993. *
;* *
;* DISCLAIMER OF WARRANTIES: *
;* ------------------------- *
;* The following [enclosed] code is sample code created by IBM *
;* Corporation. This sample code is not part of any standard IBM product *
;* and is provided to you solely for the purpose of assisting you in the *
;* development of your applications. The code is provided "AS IS", *
;* without warranty of any kind. IBM shall not be liable for any damages *
;* arising out of your use of the sample code, even if they have been *
;* advised of the possibility of such damages. *
;* *
;******************************************************************************
;
LIBRARY SAMPLE05 INITINSTANCE TERMINSTANCE
; INITINSTANCE TERMINSTANCE specifies that the DLL init./term. routine should
; be called each time the DLL is loaded for the first time for a particular
; process and each time the DLL is freed for the last time for a particular
; process.
PROTMODE
DATA MULTIPLE NONSHARED READWRITE LOADONCALL
CODE LOADONCALL
SEGMENTS
; Declare the GLOBAL_SEG as shared so that all processes can access this
; one segment.
GLOBAL_SEG CLASS 'DATA' SHARED
EXPORTS
DLLINCREMENT
DLLSTATS