Previous: Writing DLL's To the Table of Content Next: Import Units

- 2.2.11.4 -
TMT Pascal Language Description
Pascal Language Structure
Dynamic-Link Libraries (DLL's)

Global Variables in DLL's

Targets: OS/2, Win32


Global variables declared in a DLL cannot be imported by an TMT Pascal application. A DLL can be used by several applications at once, but each application has a copy of the DLL in its own process space, with its own set of global variables. For multipleDLLs or multiple instances of a DLL to share memory, they must use memory-mapped files. Refer to the Windows API ( WIN32.HLP ) documentation for further information.


Previous: Writing DLL's To the Table of Content Next: Import Units
Writing DLL's Table of Content Import Units

- 2.2.11.4 -