DOCUMENT:Q93045 12-DEC-1999 [win95x] TITLE :DSWAP Increases by 16 Bytes Each Time an MS-DOS Program Is Run PRODUCT :Microsoft Windows 95.x Retail Product PROD/VER:WINDOWS:3.1,3.11 OPER/SYS: KEYWORDS: ====================================================================== ------------------------------------------------------------------------------- The information in this article applies to: - Microsoft Windows versions 3.1, 3.11 - Microsoft Windows for Workgroups versions 3.1, 3.11 ------------------------------------------------------------------------------- Each time you run an MS-DOS-based application in standard mode of either Windows or Windows for Workgroups, the size of DSWAP.EXE in memory increases by 16 bytes. This guarantees that each MS-DOS session starts at a unique address. MS-DOS keeps track of per-process information such as open files using the address of the program segment prefix. If the size of DSWAP did not increase, two MS-DOS-based applications could be started with the same program segment prefix, and the system would have difficulty distinguishing between them. Additional query words: 3.10 ====================================================================== Keywords : Technology : kbAudDeveloper kbWin3xSearch kbWFWSearch kbZNotKeyword3 kbWin310 kbWin311 kbWFW310 kbWFW311 Version : WINDOWS:3.1,3.11 ============================================================================= THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY. Copyright Microsoft Corporation 1999.