The information in this article applies to:
SUMMARY
The Win32 dynamic-link libraries (DLLs) that are running on Win32s use
shared data by default. This means that any global data in the DLL is
shared by all processes that use the DLL. Thread local storage (TLS) can be
used to create instance data; that is, data in the DLL that is specific to
each process.
MORE INFORMATIONOne reason for wanting to create instance data on Win32s is to create a DLL that behaves identically on Win32s and Win32 (although it introduces extra overhead on Windows NT and Windows 95). Another way to create a DLL that behaves identically on Win32s and Win32 is to share all of the data in the Win32-based DLL. For additional information, please see the following article(s) in the Microsoft Knowledge Base: Q109619 Sharing All Data in a DLL Sample Code
Additional query words: 1.00 1.10 1.20
Keywords : kbWin32s |
Last Reviewed: January 14, 2000 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |