Previous: 2.2.11.3. Writing DLL's To the Table of Contents Next: 2.2.11.5. Import Units
2.2.11.3. Writing DLL's Table of Contents 2.2.11.5. Import Units

- 2.2.11.4. -
Table of Contents
2. TMT Pascal Language Description
2.2. Pascal Language Structure
2.2.11. Dynamic-Link Libraries (DLL's)
2.2.11.4. Global variables in DLL's


2.2.11.4. 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: 2.2.11.3. Writing DLL's To the Table of Contents Next: 2.2.11.5. Import Units
2.2.11.3. Writing DLL's Table of Contents 2.2.11.5. Import Units

- 2.2.11.4. -